diff options
Diffstat (limited to 'test/dummy/db')
-rw-r--r-- | test/dummy/db/migrate/20181003185713_create_people.rb | 9 | ||||
-rw-r--r-- | test/dummy/db/schema.rb | 8 |
2 files changed, 16 insertions, 1 deletions
diff --git a/test/dummy/db/migrate/20181003185713_create_people.rb b/test/dummy/db/migrate/20181003185713_create_people.rb new file mode 100644 index 0000000000..1d5922d389 --- /dev/null +++ b/test/dummy/db/migrate/20181003185713_create_people.rb @@ -0,0 +1,9 @@ +class CreatePeople < ActiveRecord::Migration[5.2] + def change + create_table :people do |t| + t.string :name + + t.timestamps + end + end +end diff --git a/test/dummy/db/schema.rb b/test/dummy/db/schema.rb index 5179d7269f..39216ebd23 100644 --- a/test/dummy/db/schema.rb +++ b/test/dummy/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 2018_02_12_164506) do +ActiveRecord::Schema.define(version: 2018_10_03_185713) do create_table "action_text_rich_texts", force: :cascade do |t| t.string "name", null: false @@ -49,4 +49,10 @@ ActiveRecord::Schema.define(version: 2018_02_12_164506) do t.datetime "updated_at", null: false end + create_table "people", force: :cascade do |t| + t.string "name" + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + end + end |