Sha256: 36e87c8551b5de0c61b598a5dc38fa2975c49a7a6bbe46a5bca04f19d4d46b4c

Contents?: true

Size: 586 Bytes

Versions: 3

Compression:

Stored size: 586 Bytes

Contents

class CreateTables < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.openid_authenticatable
      t.rememberable
      t.string :email
      t.timestamps
    end
    
    create_table :database_users do |t|
      t.openid_authenticatable
      t.database_authenticatable
      t.timestamps
    end
    
    create_table :legacy_users do |t|
      t.openid_authenticatable
      t.rememberable
      t.string :email
      t.timestamps
    end
  end

  def self.down
    drop_table :users
    drop_table :database_users
    drop_table :legacy_users
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
devise_openid_authenticatable-1.1.0 spec/scenario/db/migrate/20100401102949_create_tables.rb
devise_openid_authenticatable-1.0.0 spec/scenario/db/migrate/20100401102949_create_tables.rb
devise_openid_authenticatable-1.0.0.beta2 spec/scenario/db/migrate/20100401102949_create_tables.rb