diff options
author | Stan Hu <stanhu@gmail.com> | 2017-12-27 14:22:46 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-12-27 15:12:18 +0300 |
commit | dfdf22c7d8a9e4776a0e3bfc130ef47aff911022 (patch) | |
tree | c8f8a641f2da3a35417a0f147bec1bfcda9e3c68 /spec | |
parent | 5cacdc4ec1f63338fab923ddb657fdba0a7e6300 (diff) |
Fix PostgreSQL implementation of migration
Diffstat (limited to 'spec')
-rw-r--r-- | spec/migrations/issues_moved_to_id_foreign_key_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/migrations/issues_moved_to_id_foreign_key_spec.rb b/spec/migrations/issues_moved_to_id_foreign_key_spec.rb index 009207ef214..d2eef81f396 100644 --- a/spec/migrations/issues_moved_to_id_foreign_key_spec.rb +++ b/spec/migrations/issues_moved_to_id_foreign_key_spec.rb @@ -4,7 +4,7 @@ require Rails.root.join('db', 'migrate', '20171106151218_issues_moved_to_id_fore # The schema version has to be far enough in advance to have the # only_mirror_protected_branches column in the projects table to create a # project via FactoryBot. -describe IssuesMovedToIdForeignKey, :migration, schema: 20171109115718 do +describe IssuesMovedToIdForeignKey, :migration, schema: 20171114150259 do let!(:issue_first) { create(:issue, moved_to_id: issue_second.id) } let!(:issue_second) { create(:issue, moved_to_id: issue_third.id) } let!(:issue_third) { create(:issue) } |