tag these migrations as predeploy
They add a column and a table, so they need to happen before the new code that uses that new schema is running Change-Id: I9b9eb1c175af91eba7042906ae5fbf66fd9516e2 Reviewed-on: https://gerrit.instructure.com/12764 Reviewed-by: Cody Cutrer <cody@instructure.com> Tested-by: Jenkins <jenkins@instructure.com>
This commit is contained in:
parent
6c10743864
commit
06588fc825
|
@ -1,5 +1,5 @@
|
|||
class AddVisibilityToUserServices < ActiveRecord::Migration
|
||||
tag :postdeploy
|
||||
tag :predeploy
|
||||
|
||||
def self.up
|
||||
add_column :user_services, :visible, :boolean
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
class CreateUserProfileLinksTable < ActiveRecord::Migration
|
||||
tag :postdeploy
|
||||
tag :predeploy
|
||||
|
||||
def self.up
|
||||
create_table :user_profile_links do |t|
|
||||
|
|
Loading…
Reference in New Issue