Skip to content

Commit

Permalink
Add timestamps to test table: post_with_statuses
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredbeck committed May 15, 2016
1 parent 8f4f408 commit 3e28c3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions test/dummy/db/migrate/20110208155312_set_up_test_tables.rb
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ def up

create_table :post_with_statuses, force: true do |t|
t.integer :status
t.timestamps
end

create_table :animals, force: true do |t|
Expand Down
4 changes: 3 additions & 1 deletion test/dummy/db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,9 @@
add_index "post_versions", ["item_type", "item_id"], name: "index_post_versions_on_item_type_and_item_id"

create_table "post_with_statuses", force: :cascade do |t|
t.integer "status"
t.integer "status"
t.datetime "created_at"
t.datetime "updated_at"
end

create_table "posts", force: :cascade do |t|
Expand Down

0 comments on commit 3e28c3b

Please sign in to comment.