Sha256: 336d48422c626a8a323a66905865551c10d4ab0d2a070a407e97dbd5939dc576

Contents?: true

Size: 965 Bytes

Versions: 199

Compression:

Stored size: 965 Bytes

Contents

module CassandraObject
  module Schema
    extend ActiveSupport::Autoload

    class IrreversibleMigration < StandardError
    end

    class DuplicateMigrationVersionError < StandardError#:nodoc:
      def initialize(version)
        super("Multiple migrations have the version number #{version}")
      end
    end

    class DuplicateMigrationNameError < StandardError#:nodoc:
      def initialize(name)
        super("Multiple migrations have the name #{name}")
      end
    end

    class UnknownMigrationVersionError < StandardError #:nodoc:
      def initialize(version)
        super("No migration with version number #{version}")
      end
    end

    class IllegalMigrationNameError < StandardError#:nodoc:
      def initialize(name)
        super("Illegal name for migration file: #{name}\n\t(only lower case letters, numbers, and '_' allowed)")
      end
    end

    autoload :Migrator
    autoload :Migration
    autoload :MigrationProxy

  end
end

Version data entries

199 entries across 199 versions & 2 rubygems

Version Path
sessionm-cassandra_object-4.0.32 lib/cassandra_object/schema.rb
sessionm-cassandra_object-4.0.31 lib/cassandra_object/schema.rb
sessionm-cassandra_object-4.0.30 lib/cassandra_object/schema.rb
sessionm-cassandra_object-4.0.29 lib/cassandra_object/schema.rb
sessionm-cassandra_object-4.0.28 lib/cassandra_object/schema.rb
sessionm-cassandra_object-4.0.27 lib/cassandra_object/schema.rb
sessionm-cassandra_object-4.0.26 lib/cassandra_object/schema.rb
sessionm-cassandra_object-4.0.25 lib/cassandra_object/schema.rb
sessionm-cassandra_object-4.0.24 lib/cassandra_object/schema.rb
sessionm-cassandra_object-4.0.23 lib/cassandra_object/schema.rb
sessionm-cassandra_object-4.0.22 lib/cassandra_object/schema.rb
sessionm-cassandra_object-4.0.21 lib/cassandra_object/schema.rb
sessionm-cassandra_object-4.0.20 lib/cassandra_object/schema.rb
sessionm-cassandra_object-2.7.5 lib/cassandra_object/schema.rb
sessionm-cassandra_object-2.7.4 lib/cassandra_object/schema.rb
sessionm-cassandra_object-4.0.18 lib/cassandra_object/schema.rb
sessionm-cassandra_object-4.0.17 lib/cassandra_object/schema.rb
sessionm-cassandra_object-4.0.16 lib/cassandra_object/schema.rb
sessionm-cassandra_object-4.0.15 lib/cassandra_object/schema.rb
sessionm-cassandra_object-4.0.14 lib/cassandra_object/schema.rb