Add label to cards

Also removes unused fields related to buttons and alignment
This commit is contained in:
rgarcia
2018-05-24 18:38:32 +02:00
committed by decabeza
parent eaebf349df
commit ad181b0e10
10 changed files with 44 additions and 29 deletions

View File

@@ -5,10 +5,8 @@ class CreateWidgetCards < ActiveRecord::Migration
t.text :description
t.string :link_text
t.string :link_url
t.string :button_text
t.string :button_url
t.string :label
t.boolean :header, default: false
t.string :alignment
t.timestamps null: false
end
end

View File

@@ -1231,10 +1231,8 @@ ActiveRecord::Schema.define(version: 20180519132715) do
t.text "description"
t.string "link_text"
t.string "link_url"
t.string "button_text"
t.string "button_url"
t.string "label"
t.boolean "header", default: false
t.string "alignment"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end