Sha256: 5e99271b0a0ecc342f4d451346ecb1f8588f5578026d55d207ab4b320ea1c22e

Contents?: true

Size: 312 Bytes

Versions: 101

Compression:

Stored size: 312 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')
  end
end

Version data entries

101 entries across 101 versions & 5 rubygems

Version Path
brightcontent-attachments-2.0.12 spec/dummy/db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-pages-2.0.12 spec/dummy/db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-core-2.0.12 db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-attachments-2.0.11 spec/dummy/db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-pages-2.0.11 spec/dummy/db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-core-2.0.11 db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-attachments-2.0.10 spec/dummy/db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-pages-2.0.10 spec/dummy/db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-core-2.0.10 db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-attachments-2.0.9 spec/dummy/db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-pages-2.0.9 spec/dummy/db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-core-2.0.9 db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-attachments-2.0.8 spec/dummy/db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-pages-2.0.8 spec/dummy/db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-core-2.0.8 db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-attachments-2.0.7 spec/dummy/db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-pages-2.0.7 spec/dummy/db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-core-2.0.7 db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-attachments-2.0.6 spec/dummy/db/migrate/20121206121725_create_brightcontent_admin_users.rb
brightcontent-pages-2.0.6 spec/dummy/db/migrate/20121206121725_create_brightcontent_admin_users.rb