Add widget cards to homepage

This commit is contained in:
rgarcia
2018-05-22 19:56:40 +02:00
committed by decabeza
parent 85c08da7a6
commit 664e77305c
21 changed files with 412 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
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 :button_text
t.string :button_url
t.boolean :header, default: false
t.string :alignment
t.timestamps null: false
end
end
end