diff --git a/db/development.sqlite3 b/db/development.sqlite3 index bbc30cecdd..d8e8e30e56 100644 Binary files a/db/development.sqlite3 and b/db/development.sqlite3 differ diff --git a/db/migrate/20160721062336_add_descriptions_to_tables.rb b/db/migrate/20160721062336_add_descriptions_to_tables.rb new file mode 100644 index 0000000000..c4d197ec13 --- /dev/null +++ b/db/migrate/20160721062336_add_descriptions_to_tables.rb @@ -0,0 +1,13 @@ +class AddDescriptionsToTables < ActiveRecord::Migration[5.0] + change_table :albums do |t| + t.text :description + end + + change_table :books do |t| + t.text :description + end + + change_table :movies do |t| + t.text :description + end +end diff --git a/db/schema.rb b/db/schema.rb index 71de2869c9..cc17495929 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,30 +10,33 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20160714193003) do +ActiveRecord::Schema.define(version: 20160721062336) do create_table "albums", force: :cascade do |t| - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", null: false + t.datetime "updated_at", null: false t.text "title" t.text "artist" t.integer "rank" + t.text "description" end create_table "books", force: :cascade do |t| - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", null: false + t.datetime "updated_at", null: false t.text "title" t.text "author" t.integer "rank" + t.text "description" end create_table "movies", force: :cascade do |t| - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", null: false + t.datetime "updated_at", null: false t.text "title" t.text "director" t.integer "rank" + t.text "description" end end