Sha256: 88287379841a42528dd6a8a2d67a775ddc58f6fe428201c1a8d75a241b916653

Contents?: true

Size: 480 Bytes

Versions: 2

Compression:

Stored size: 480 Bytes

Contents

module MinceMigrator
  module Migrations
    require 'time'

    module FirstMigration2
      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/first_migration_2.rb
mince_migrator-1.0.0 spec/support/db/first_migration_2.rb