1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-28 09:24:24 +01:00
fab-manager/db/migrate/20190604075717_remove_statistic_columns.rb

12 lines
331 B
Ruby

# frozen_string_literal:true
class RemoveStatisticColumns < ActiveRecord::Migration[4.2]
def change
remove_column :profiles, :gender, :boolean
remove_column :profiles, :birthday, :date
remove_column :reservations, :user_id
remove_column :subscriptions, :user_id
remove_column :projects, :author_id
end
end