Skip to content
This repository has been archived by the owner on Mar 22, 2021. It is now read-only.

Specify migrations version (fixing tests) #206

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/dummy/db/migrate/20150713101607_create_users.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class CreateUsers < ActiveRecord::Migration
class CreateUsers < ActiveRecord::Migration[4.2]
def change
create_table :users do |t|
t.string :email, unique: true, null: false
Expand Down
2 changes: 1 addition & 1 deletion test/dummy/db/migrate/20160519075733_create_admins.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class CreateAdmins < ActiveRecord::Migration
class CreateAdmins < ActiveRecord::Migration[4.2]
def change
create_table :admins do |t|
t.string :email
Expand Down
2 changes: 1 addition & 1 deletion test/dummy/db/migrate/20160522051816_create_vendors.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class CreateVendors < ActiveRecord::Migration
class CreateVendors < ActiveRecord::Migration[4.2]
def change
create_table :vendors do |t|
t.string :email
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class CreateCompositeNameEntities < ActiveRecord::Migration
class CreateCompositeNameEntities < ActiveRecord::Migration[4.2]
def change
create_table :composite_name_entities do |t|
t.string :email
Expand Down
2 changes: 1 addition & 1 deletion test/dummy/db/migrate/20161127203222_create_v1_users.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class CreateV1Users < ActiveRecord::Migration
class CreateV1Users < ActiveRecord::Migration[4.2]
def change
create_table :v1_users do |t|

Expand Down