mirror of
https://github.com/fspc/BikeShed-1.git
synced 2025-02-28 16:53:23 -05:00
7 lines
164 B
Ruby
7 lines
164 B
Ruby
class AddUsernameToUser < ActiveRecord::Migration
|
|
def change
|
|
add_column :users, :username, :string
|
|
add_index :users, :username, :unique => true
|
|
end
|
|
end
|