* Removes second_user_id and third_user_id from the Articles table * Adds updated schema file to (fingers crossed) resolve Travis failure * Adds gaurd clause to data_update script to mitigate db issues
8 lines
227 B
Ruby
8 lines
227 B
Ruby
class RemoveColumnsFromArticles < ActiveRecord::Migration[6.0]
|
|
def change
|
|
safety_assured do
|
|
remove_column :articles, :second_user_id, :bigint
|
|
remove_column :articles, :third_user_id, :bigint
|
|
end
|
|
end
|
|
end
|