Sha256: 776c099d0f6aa3ab6635daba454b9c4bdc73acd73f1fe3087467dfdafc555c8b
Contents?: true
Size: 480 Bytes
Versions: 2
Compression:
Stored size: 480 Bytes
Contents
module MinceMigrator module Migrations require 'time' module NameOfMigration 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/name_of_migration.rb |
mince_migrator-1.0.0 | spec/support/db/name_of_migration.rb |