Files
nairobi/db/migrate/20180516091302_create_widget_cards.rb
rgarcia ad181b0e10 Add label to cards
Also removes unused fields related to buttons and alignment
2018-05-28 18:17:26 +02:00

14 lines
311 B
Ruby

class CreateWidgetCards < ActiveRecord::Migration
def change
create_table :widget_cards do |t|
t.string :title
t.text :description
t.string :link_text
t.string :link_url
t.string :label
t.boolean :header, default: false
t.timestamps null: false
end
end
end