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