Public view for suggested actions as well as resources has been completelly redesigned. Private side for this feature has been adapted as well in order to meet the requirements.
13 lines
274 B
Ruby
13 lines
274 B
Ruby
class CreateLinks < ActiveRecord::Migration
|
|
def change
|
|
create_table :links do |t|
|
|
t.string :label
|
|
t.string :url
|
|
t.boolean :open_in_new_tab
|
|
t.references :linkable, polymorphic: true, index: true
|
|
|
|
t.timestamps null: false
|
|
end
|
|
end
|
|
end
|