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/00400_create_link_contents.rb
2021-08-23 10:26: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