1 changed files with 6 additions and 4 deletions
@ -1,8 +1,10 @@ |
|||||||
class AddNewQuestionFieldsToOrganisation < ActiveRecord::Migration[7.2] |
class AddNewQuestionFieldsToOrganisation < ActiveRecord::Migration[7.2] |
||||||
def change |
def change |
||||||
add_column :organisations, :profit_status, :integer |
change_table :organisations, bulk: true do |t| |
||||||
add_column :organisations, :group_member, :boolean |
t.integer :profit_status |
||||||
add_column :organisations, :group_member_id, :integer |
t.boolean :group_member |
||||||
add_column :organisations, :group, :integer |
t.integer :group_member_id |
||||||
|
t.integer :group |
||||||
|
end |
||||||
end |
end |
||||||
end |
end |
||||||
|
Loading…
Reference in new issue