c57f18c20c
The domain language is clearer if we just persist a thread. Also rename some models so their purpose is clear.
10 lines
206 B
Ruby
10 lines
206 B
Ruby
class CreateBubbleThread < ActiveRecord::Migration[8.0]
|
|
def change
|
|
create_table :bubble_threads do |t|
|
|
t.references :bubble, null: false, foreign_key: true
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|