Skip to content

Commit

Permalink
Added descriptions to all tables since they were intiially forgotten
Browse files Browse the repository at this point in the history
  • Loading branch information
jadevance committed Jul 21, 2016
1 parent 07ce309 commit 24b3ad0
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 7 deletions.
Binary file modified db/development.sqlite3
Binary file not shown.
13 changes: 13 additions & 0 deletions db/migrate/20160721062336_add_descriptions_to_tables.rb
Original file line number Diff line number Diff line change
@@ -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
17 changes: 10 additions & 7 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 24b3ad0

Please sign in to comment.