Sha256: 139b5f47ab0f302d5d13cb8fb0dbea0a66f4b234745b6ac5efd1b9af35051d6b
Contents?: true
Size: 210 Bytes
Versions: 38
Compression:
Stored size: 210 Bytes
Contents
class AddUsernameToUsers < ActiveRecord::Migration[5.1] def change add_column :users, :username, :string add_column :users, :fullname, :string add_index :users, :username, unique: true end end
Version data entries
38 entries across 38 versions & 1 rubygems