update with changes from Production branch
This commit is contained in:
13
db/migrate/20110513192617_add_fields_to_users.rb
Normal file
13
db/migrate/20110513192617_add_fields_to_users.rb
Normal file
@ -0,0 +1,13 @@
|
||||
class AddFieldsToUsers < ActiveRecord::Migration
|
||||
def self.up
|
||||
add_column :users, :public_flag, :boolean, :default => false
|
||||
add_column :users, :bio, :text
|
||||
add_column :users, :website, :string
|
||||
end
|
||||
|
||||
def self.down
|
||||
remove_column :users, :website
|
||||
remove_column :users, :bio
|
||||
remove_column :users, :public_flag
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user