Sha256: 6efe038f0b84288d9a562b85bcea91bc37e72f80867c2db7ef571eb86024421c
Contents?: true
Size: 300 Bytes
Versions: 10
Compression:
Stored size: 300 Bytes
Contents
class <%= migration_class_name %> < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>] def change create_table :admin_users do |t| t.string :email t.string :password_digest t.timestamps end add_index :admin_users, :email, unique: true end end
Version data entries
10 entries across 10 versions & 1 rubygems