Files
fizzy/db/migrate/20240814214252_create_comments.rb
T
2024-08-14 17:36:13 -05:00

12 lines
236 B
Ruby

class CreateComments < ActiveRecord::Migration[8.0]
def change
create_table :comments do |t|
t.text :body
t.integer :creator_id, null: false
t.integer :splat_id, null: false
t.timestamps
end
end
end