Sha256: decea560ebf09c560999a8ae27c2c36121f107528281e185e30169f9bb7f6975

Contents?: true

Size: 175 Bytes

Versions: 15

Compression:

Stored size: 175 Bytes

Contents

class CreateMobileContainers
  
  def self.up
    User.all.each do |user|
      Mobile.create(:user => user)
    end
  end
  
  def self.down
    #remove data here
  end

end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
erp_app-3.0.16 db/data_migrations/20120413000515_create_mobile_containers.rb
erp_app-3.0.15 db/data_migrations/20120413000515_create_mobile_containers.rb
erp_app-3.0.14 db/data_migrations/20120413000515_create_mobile_containers.rb
erp_app-3.0.13 db/data_migrations/20120413000515_create_mobile_containers.rb
erp_app-3.0.12 db/data_migrations/20120413000515_create_mobile_containers.rb
erp_app-3.0.10 db/data_migrations/20120413000515_create_mobile_containers.rb
erp_app-3.0.9 db/data_migrations/20120413000515_create_mobile_containers.rb
erp_app-3.0.8 db/data_migrations/20120413000515_create_mobile_containers.rb
erp_app-3.0.7 db/data_migrations/20120413000515_create_mobile_containers.rb
erp_app-3.0.6 db/data_migrations/20120413000515_create_mobile_containers.rb
erp_app-3.0.5 db/data_migrations/20120413000515_create_mobile_containers.rb
erp_app-3.0.4 db/data_migrations/20120413000515_create_mobile_containers.rb
erp_app-3.0.3 db/data_migrations/20120413000515_create_mobile_containers.rb
erp_app-3.0.2 db/data_migrations/20120413000515_create_mobile_containers.rb
erp_app-3.0.1 db/data_migrations/20120413000515_create_mobile_containers.rb