This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
phone_app/db/migrate/01000_create_portlets.rb
2021-08-23 10:26:02 +02: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