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