summaryrefslogtreecommitdiff
path: root/django/db/backends/sqlite3/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/db/backends/sqlite3/base.py')
-rw-r--r--django/db/backends/sqlite3/base.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/django/db/backends/sqlite3/base.py b/django/db/backends/sqlite3/base.py
index ad792e1fa0..f17eb9686f 100644
--- a/django/db/backends/sqlite3/base.py
+++ b/django/db/backends/sqlite3/base.py
@@ -48,6 +48,9 @@ class DatabaseOperations(BaseDatabaseOperations):
def drop_foreignkey_sql(self):
return ""
+ def pk_default_value(self):
+ return 'NULL'
+
class DatabaseWrapper(BaseDatabaseWrapper):
ops = DatabaseOperations()
@@ -118,9 +121,6 @@ def _sqlite_extract(lookup_type, dt):
def get_random_function_sql():
return "RANDOM()"
-def get_pk_default_value():
- return "NULL"
-
def get_start_transaction_sql():
return "BEGIN;"