Sha256: 5f0f963770b31f1f962346ebf5964d56b2b0537f08642069a6914f48785ff8d0
Contents?: true
Size: 479 Bytes
Versions: 16
Compression:
Stored size: 479 Bytes
Contents
class CreateBrightcontentAdminUsers < ActiveRecord::Migration def up create_table :brightcontent_admin_users do |t| t.string :email t.string :password_digest t.timestamps end if defined? Brightcontent::AdminUser Brightcontent::AdminUser.create!( email: 'admin@example.com', password: 'password', password_confirmation: 'password' ) end end def down drop_table :brightcontent_admin_users end end
Version data entries
16 entries across 16 versions & 1 rubygems