Sha256: d329d9d0be0cabaf9665c9cdae0e6660fc2c42a6df90063f71394f0689c375fb
Contents?: true
Size: 481 Bytes
Versions: 2
Compression:
Stored size: 481 Bytes
Contents
module MinceMigrator module Migrations require 'time' module ASecondMigration def self.run # Actual migration goes here end def self.revert # In case you need to revert this one migration end # So you can change the order to run more easily def self.time_created Time.parse "2013-03-28 05:03:26 UTC" end module Temporary # Migration dependent classes go here end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mince_migrator-1.0.1 | spec/support/db/a_second_migration.rb |
mince_migrator-1.0.0 | spec/support/db/a_second_migration.rb |