Add option to configure feed items displayed in homepage

This commit is contained in:
rgarcia
2018-05-29 19:58:04 +02:00
parent 7c17eea6a3
commit b672a4550d
12 changed files with 90 additions and 44 deletions

View File

@@ -2,6 +2,7 @@ class CreateWidgetFeeds < ActiveRecord::Migration
def change
create_table :widget_feeds do |t|
t.string :kind
t.integer :limit, default: 3
t.timestamps null: false
end
end

View File

@@ -1236,8 +1236,9 @@ ActiveRecord::Schema.define(version: 20180519132610) do
create_table "widget_feeds", force: :cascade do |t|
t.string "kind"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.integer "limit", default: 3
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end
add_foreign_key "administrators", "users"