Sha256: 1e624a8a5cadd5d582ebeb61e578735a67f8c43754a071e4e3f5a01a3fa90530

Contents?: true

Size: 193 Bytes

Versions: 4

Compression:

Stored size: 193 Bytes

Contents

class PopulateUser < ActiveRecord::Migration
  def self.up
   User.create!(first_name: 'toto', last_name: 'tata')
  end

  def self.down
    raise ActiveRecord::IrreversibleMigration
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
imigrate-0.9.3 spec/dummy/db/data/20150202182709_populate_user.rb
imigrate-0.9.2 spec/dummy/db/data/20150202182709_populate_user.rb
imigrate-0.9.1 spec/dummy/db/data/20150202182709_populate_user.rb
imigrate-0.9.0 spec/dummy/db/data/20150202182709_populate_user.rb