thatcher_app/db/migrate/01080_create_table_rows.rb
2019-11-11 16:11:03 +01:00

12 lines
250 B
Ruby

class CreateTableRows < ActiveRecord::Migration[6.0]
def change
create_table :table_rows do |t|
t.integer :position
t.integer :style
t.references :table_content, index: true
t.timestamps
end
end
end