BikeBikeBike/db/migrate/20150809011815_make_username_not_nullable.rb

6 lines
139 B
Ruby
Raw Normal View History

2015-08-21 19:29:43 -07:00
class MakeUsernameNotNullable < ActiveRecord::Migration
def change
change_column :users, :username, :string, :null => false
end
end