Sha256: 04545165cb79f001def434bb1c7ffd2975879c0d07c9eacbd0995d29428dfa97

Contents?: true

Size: 493 Bytes

Versions: 15

Compression:

Stored size: 493 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :user_defaults do |t|
      t.string :username, :password
      t.timestamps
    end
    create_table :user_no_defaults do |t|
      t.string :username, :password
      t.timestamps
    end
    create_table :user_mixeds do |t|
      t.string :username, :password
      t.timestamps
    end    
  end

  def self.down
    drop_table :user_defaults
    drop_table :user_no_defaults
    drop_table :user_mixeds
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
spree-0.11.4 vendor/plugins/delegate_belongs_to/spec/app_root/db/migrate/01_create_users.rb
spree-0.11.3 vendor/plugins/delegate_belongs_to/spec/app_root/db/migrate/01_create_users.rb
spree-0.11.2 vendor/plugins/delegate_belongs_to/spec/app_root/db/migrate/01_create_users.rb
spree-0.11.1 vendor/plugins/delegate_belongs_to/spec/app_root/db/migrate/01_create_users.rb
spree-0.11.0 vendor/plugins/delegate_belongs_to/spec/app_root/db/migrate/01_create_users.rb
spree-0.10.2 vendor/plugins/delegate_belongs_to/spec/app_root/db/migrate/01_create_users.rb
spree-0.10.1 vendor/plugins/delegate_belongs_to/spec/app_root/db/migrate/01_create_users.rb
spree-0.10.0 vendor/plugins/delegate_belongs_to/spec/app_root/db/migrate/01_create_users.rb
spree-0.10.0.beta vendor/plugins/delegate_belongs_to/spec/app_root/db/migrate/01_create_users.rb
spree-enriquez-0.9.4 vendor/plugins/delegate_belongs_to/spec/app_root/db/migrate/01_create_users.rb
spree-0.9.4 vendor/plugins/delegate_belongs_to/spec/app_root/db/migrate/01_create_users.rb
spree-0.9.3 vendor/plugins/delegate_belongs_to/spec/app_root/db/migrate/01_create_users.rb
spree-0.9.2 vendor/plugins/delegate_belongs_to/spec/app_root/db/migrate/01_create_users.rb
spree-0.9.1 vendor/plugins/delegate_belongs_to/spec/app_root/db/migrate/01_create_users.rb
spree-0.9.0 vendor/plugins/delegate_belongs_to/spec/app_root/db/migrate/01_create_users.rb