panier_app/migrations/01000_create_portlets.rb
Nicolas Bally d744a04b28 initial
2020-10-30 22:26:40 +01:00

13 lines
291 B
Ruby

class CreatePortlets < ActiveRecord::Migration[6.0]
def change
create_table :portlets do |t|
t.references :block, index: true
t.references :content, index: true
t.string :content_type
t.integer :position
t.timestamps
end
end
end