Sha256: 445daf7d941492d0ada8d1d0ba5a1d6b13d9de85aded666f318978c06ecb17e3

Contents?: true

Size: 349 Bytes

Versions: 5

Compression:

Stored size: 349 Bytes

Contents

# -*- encoding : utf-8 -*-

require "cardio/migration"

module Cardio
  class Migration
    # Inherit from this migration class to make database table changes
    # in your deck
    class DeckStructure < Migration
      @type = :deck

      def contentedly
        Cardio.schema_mode :deck do
          yield
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
card-1.101.4 lib/cardio/migration/deck_structure.rb
card-1.101.3 lib/cardio/migration/deck_structure.rb
card-1.101.2 lib/cardio/migration/deck_structure.rb
card-1.101.1 lib/cardio/migration/deck_structure.rb
card-1.101.0 lib/cardio/migration/deck_structure.rb