mirror of
https://github.com/gitlabhq/gitlabhq.git
synced 2025-08-20 16:30:26 +00:00

The default (false) is not strictly required, and this lets us avoid a potentially expensive migration
12 lines
184 B
Ruby
12 lines
184 B
Ruby
class AddColumnGhostToUsers < ActiveRecord::Migration
|
|
DOWNTIME = false
|
|
|
|
def up
|
|
add_column :users, :ghost, :boolean
|
|
end
|
|
|
|
def down
|
|
remove_column :users, :ghost
|
|
end
|
|
end
|