mack-data_mapper 0.6.1 → 0.6.1.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -5,5 +5,17 @@ module DataMapper # :nodoc:
|
|
5
5
|
@@migrations = []
|
6
6
|
end
|
7
7
|
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
module SQL # :nodoc:
|
12
|
+
module Sqlite3 # :nodoc:
|
13
|
+
|
14
|
+
def property_schema_statement(schema)
|
15
|
+
statement = super
|
16
|
+
statement << ' PRIMARY KEY AUTOINCREMENT' if supports_serial? && schema[:serial]
|
17
|
+
statement
|
18
|
+
end
|
19
|
+
|
8
20
|
end
|
9
21
|
end
|