Sha256: 9138252b331337d5d9ad4684da735d505bc8abccb91c26eb304ee516c80f46a0

Contents?: true

Size: 373 Bytes

Versions: 2

Compression:

Stored size: 373 Bytes

Contents

module DataMapper # :nodoc:
  module MigrationRunner # :nodoc:
    
    def self.reset!
      @@migrations = []
    end
    
  end
end

module SQL # :nodoc:
  module Sqlite3 # :nodoc:

    def property_schema_statement(schema)
      statement = super
      statement << ' PRIMARY KEY AUTOINCREMENT' if supports_serial? && schema[:serial]
      statement
    end
 
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mack-data_mapper-0.6.1.1 lib/mack-data_mapper/dm_patches/migrations.rb
mack-data_mapper-0.6.1.2 lib/mack-data_mapper/dm_patches/migrations.rb