Module: SQL::Sqlite3
- Defined in:
- lib/mack-data_mapper/dm_patches/migrations.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#property_schema_statement(schema) ⇒ Object
14 15 16 17 18 |
# File 'lib/mack-data_mapper/dm_patches/migrations.rb', line 14 def property_schema_statement(schema) statement = super statement << ' PRIMARY KEY AUTOINCREMENT' if supports_serial? && schema[:serial] statement end |