2020-04-19 09:10:31 -07:00
|
|
|
class AddFieldsToUsers < ActiveRecord::Migration[4.2]
|
2014-12-01 11:47:10 -08:00
|
|
|
def change
|
|
|
|
add_column :users, :website, :string, default: '', null: false
|
|
|
|
add_column :users, :location, :string, default: '', null: false
|
|
|
|
add_column :users, :bio, :text, default: '', null: false
|
|
|
|
end
|
|
|
|
end
|