Sha256: 47da498bf2d4fbec6572d42defb84ad257f854b9cf3594c80cde9a3d5e244663

Contents?: true

Size: 343 Bytes

Versions: 22

Compression:

Stored size: 343 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

22 entries across 22 versions & 1 rubygems

Version Path
card-1.96.8 lib/card/migration/deck_structure.rb
card-1.96.7 lib/card/migration/deck_structure.rb
card-1.96.6 lib/card/migration/deck_structure.rb
card-1.96.5 lib/card/migration/deck_structure.rb
card-1.96.4 lib/card/migration/deck_structure.rb
card-1.96.3 lib/card/migration/deck_structure.rb
card-1.96.2 lib/card/migration/deck_structure.rb
card-1.96.1 lib/card/migration/deck_structure.rb
card-1.96.0 lib/card/migration/deck_structure.rb
card-1.95.3 lib/card/migration/deck_structure.rb
card-1.95.2 lib/card/migration/deck_structure.rb
card-1.95.1 lib/card/migration/deck_structure.rb
card-1.95.0 lib/card/migration/deck_structure.rb
card-1.94.1 lib/card/migration/deck_structure.rb
card-1.94.0 lib/card/migration/deck_structure.rb
card-1.93.13 lib/card/migration/deck_structure.rb
card-1.93.12 lib/card/migration/deck_structure.rb
card-1.93.11 lib/card/migration/deck_structure.rb
card-1.93.10 lib/card/migration/deck_structure.rb
card-1.93.9 lib/card/migration/deck_structure.rb