3bd2a98f64
The default (false) is not strictly required, and this lets us avoid a potentially expensive migration
11 lines
184 B
Ruby
11 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
|