Sha256: e29fceef934ef434ffba657959443dd0aecc4cb2498a221babc8a9ee8ea65cd7

Contents?: true

Size: 350 Bytes

Versions: 15

Compression:

Stored size: 350 Bytes

Contents

class CreateBrightcontentAdminUsers < ActiveRecord::Migration
  def change
    create_table :brightcontent_admin_users do |t|
      t.string :email
      t.string :password_digest

      t.timestamps
    end

    Brightcontent::AdminUser.create!(:email => 'admin@example.com', :password => 'password', :password_confirmation => 'password')
  end
end

Version data entries

15 entries across 15 versions & 3 rubygems

Version Path
brightcontent-attachments-2.1.4 spec/dummy/db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-pages-2.1.4 spec/dummy/db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-core-2.1.4 db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-attachments-2.1.3 spec/dummy/db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-pages-2.1.3 spec/dummy/db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-core-2.1.3 db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-attachments-2.1.2 spec/dummy/db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-pages-2.1.2 spec/dummy/db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-core-2.1.2 db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-attachments-2.1.1 spec/dummy/db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-pages-2.1.1 spec/dummy/db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-core-2.1.1 db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-attachments-2.1.0 spec/dummy/db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-pages-2.1.0 spec/dummy/db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-core-2.1.0 db/migrate/20121206121725_create_brightcontent_admin_users.rb