debian-mirror-gitlab/db/migrate/20170206115204_add_column_ghost_to_users.rb

12 lines
184 B
Ruby
Raw Normal View History

2017-08-17 22:00:37 +05:30
class AddColumnGhostToUsers < ActiveRecord::Migration
DOWNTIME = false
def up
add_column :users, :ghost, :boolean
end
def down
remove_column :users, :ghost
end
end