Retrospring/db/migrate/20141201191324_add_fields_t...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
304 B
Ruby
Raw Normal View History

2023-10-19 16:37:34 -07:00
# frozen_string_literal: true
class AddFieldsToUsers < ActiveRecord::Migration[4.2]
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
end
end