fixed oracle bigint, thanks faridgs
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.00.0 (2012-07-09 21:09:52) dev
|
Version 2.00.0 (2012-07-09 21:39:03) dev
|
||||||
|
|||||||
+4
-4
@@ -2487,9 +2487,9 @@ class OracleAdapter(BaseAdapter):
|
|||||||
'blob': 'CLOB',
|
'blob': 'CLOB',
|
||||||
'upload': 'VARCHAR2(%(length)s)',
|
'upload': 'VARCHAR2(%(length)s)',
|
||||||
'integer': 'INT',
|
'integer': 'INT',
|
||||||
'bigint': 'BIGINT',
|
'bigint': 'NUMBER',
|
||||||
'float': 'FLOAT',
|
'float': 'FLOAT',
|
||||||
'double': 'DOUBLE',
|
'double': 'BINARY_DOUBLE',
|
||||||
'decimal': 'NUMERIC(%(precision)s,%(scale)s)',
|
'decimal': 'NUMERIC(%(precision)s,%(scale)s)',
|
||||||
'date': 'DATE',
|
'date': 'DATE',
|
||||||
'time': 'CHAR(8)',
|
'time': 'CHAR(8)',
|
||||||
@@ -2499,8 +2499,8 @@ class OracleAdapter(BaseAdapter):
|
|||||||
'list:integer': 'CLOB',
|
'list:integer': 'CLOB',
|
||||||
'list:string': 'CLOB',
|
'list:string': 'CLOB',
|
||||||
'list:reference': 'CLOB',
|
'list:reference': 'CLOB',
|
||||||
'big-id': 'BIGINT PRIMARY KEY',
|
'big-id': 'NUMBER PRIMARY KEY',
|
||||||
'big-reference': 'BIGINT, CONSTRAINT %(constraint_name)s FOREIGN KEY (%(field_name)s) REFERENCES %(foreign_key)s ON DELETE %(on_delete_action)s',
|
'big-reference': 'NUMBER, CONSTRAINT %(constraint_name)s FOREIGN KEY (%(field_name)s) REFERENCES %(foreign_key)s ON DELETE %(on_delete_action)s',
|
||||||
'reference FK': ', CONSTRAINT FK_%(constraint_name)s FOREIGN KEY (%(field_name)s) REFERENCES %(foreign_key)s ON DELETE %(on_delete_action)s',
|
'reference FK': ', CONSTRAINT FK_%(constraint_name)s FOREIGN KEY (%(field_name)s) REFERENCES %(foreign_key)s ON DELETE %(on_delete_action)s',
|
||||||
'reference TFK': ' CONSTRAINT FK_%(foreign_table)s_PK FOREIGN KEY (%(field_name)s) REFERENCES %(foreign_table)s (%(foreign_key)s) ON DELETE %(on_delete_action)s',
|
'reference TFK': ' CONSTRAINT FK_%(foreign_table)s_PK FOREIGN KEY (%(field_name)s) REFERENCES %(foreign_table)s (%(foreign_key)s) ON DELETE %(on_delete_action)s',
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user