olwen_demo_app/db/migrate/00400_create_link_contents.rb
Nicolas Bally 7b2e6811dd initial
2020-06-05 11:10:02 +02:00

17 lines
407 B
Ruby

class CreateLinkContents < ActiveRecord::Migration[6.0]
def change
create_table :link_contents do |t|
t.integer :type
t.string :name
t.string :title
t.boolean :popup, :default => false
t.string :url
t.string :style
t.references :cible, index: true
t.string :cible_type
t.timestamps
end
end
end