Sha256: cc577fea1d3b0895dc9e23495182772a92f2da736856d76f68a07bf6e930578a

Contents?: true

Size: 479 Bytes

Versions: 2

Compression:

Stored size: 479 Bytes

Contents

module MinceMigrator
  module Migrations
    require 'time'

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