Sha256: 9b0103f3b112b7a709ade6eb347b8b7968211a9ef42b7a359dff7c9cfd26d524

Contents?: true

Size: 344 Bytes

Versions: 14

Compression:

Stored size: 344 Bytes

Contents

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

require "card/migration"

class Card
  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

14 entries across 14 versions & 1 rubygems

Version Path
card-1.100.0 lib/card/migration/deck_structure.rb
card-1.99.6 lib/card/migration/deck_structure.rb
card-1.99.5 lib/card/migration/deck_structure.rb
card-1.99.4 lib/card/migration/deck_structure.rb
card-1.99.3 lib/card/migration/deck_structure.rb
card-1.99.2 lib/card/migration/deck_structure.rb
card-1.99.1 lib/card/migration/deck_structure.rb
card-1.99.0 lib/card/migration/deck_structure.rb
card-1.98.3 lib/card/migration/deck_structure.rb
card-1.98.2 lib/card/migration/deck_structure.rb
card-1.98.1 lib/card/migration/deck_structure.rb
card-1.98.0 lib/card/migration/deck_structure.rb
card-1.97.0.1 lib/card/migration/deck_structure.rb
card-1.97.0 lib/card/migration/deck_structure.rb