This commit is contained in:
Nicolas Bally 2018-03-22 16:53:18 +01:00
parent 137e9b2a78
commit 76121a4e08
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,5 @@
class AddAuthorToPlumeArticles < ActiveRecord::Migration
def change
add_column :plume_articles, :author, :string
end
end

View File

@ -11,7 +11,7 @@
# #
# It's strongly recommended that you check this file into your version control system. # It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20180322141536) do ActiveRecord::Schema.define(version: 20180322155011) do
create_table "admins", force: true do |t| create_table "admins", force: true do |t|
t.string "email", default: "", null: false t.string "email", default: "", null: false
@ -680,6 +680,7 @@ ActiveRecord::Schema.define(version: 20180322141536) do
t.string "article_type" t.string "article_type"
t.datetime "created_at" t.datetime "created_at"
t.datetime "updated_at" t.datetime "updated_at"
t.string "author"
end end
add_index "plume_articles", ["plume_cat_id"], name: "index_plume_articles_on_plume_cat_id", using: :btree add_index "plume_articles", ["plume_cat_id"], name: "index_plume_articles_on_plume_cat_id", using: :btree