Fix migration.
This commit is contained in:
parent
34189cf761
commit
3c85b2ceea
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
class AddUserVisible < ActiveRecord::Migration
|
||||
def self.up
|
||||
add_column "users", "visible", :boolean
|
||||
add_column "users", "visible", :boolean, :default => true, :null => false
|
||||
User.update_all("visible = 1")
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue