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

12 lines
331 B
Ruby
Raw Normal View History

# 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
2019-06-06 16:34:53 +02:00
remove_column :projects, :author_id
end
end