mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 14:39:52 +01:00
9 lines
304 B
Ruby
9 lines
304 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddFieldsToUsers < ActiveRecord::Migration[4.2]
|
|
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
|