olwen_demo_app/db/migrate/01080_create_table_rows.rb
Nicolas Bally 7b2e6811dd initial
2020-06-05 11:10:02 +02: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