Commit graph

2 commits

Author SHA1 Message Date
Timothy Andrew
3bd2a98f64
Remove the default value for the users.ghost database column.
The default (false) is not strictly required, and this lets us avoid a
potentially expensive migration
2017-02-24 16:50:20 +05:30
Timothy Andrew
8e68480976
Use a ghost boolean to track ghost users.
Rather than using a separate `ghost` state. This lets us have the benefits of
both ghost and blocked users (ghost: true, state: blocked) without having to
rewrite a number of queries to include cases for `state: ghost`.
2017-02-24 16:50:20 +05:30