mirror of https://github.com/AMT-Cheif/drift.git
remove bigIntType from SqlDialect
This commit is contained in:
parent
d2c3532c3f
commit
d1e7e11696
|
@ -122,15 +122,13 @@ enum SqlDialect {
|
|||
mariadb(
|
||||
booleanType: 'BOOLEAN',
|
||||
textType: 'TEXT',
|
||||
bigIntType: 'BIGINT',
|
||||
integerType: 'INT',
|
||||
integerType: 'BIGINT',
|
||||
blobType: 'BLOB',
|
||||
realType: 'DOUBLE',
|
||||
);
|
||||
|
||||
final String? booleanType;
|
||||
final String textType;
|
||||
final String? bigIntType;
|
||||
final String integerType;
|
||||
final String realType;
|
||||
final String blobType;
|
||||
|
@ -141,6 +139,5 @@ enum SqlDialect {
|
|||
required this.realType,
|
||||
required this.blobType,
|
||||
this.booleanType,
|
||||
this.bigIntType,
|
||||
});
|
||||
}
|
||||
|
|
|
@ -325,7 +325,6 @@ enum DriftSqlType<T extends Object> implements _InternalDriftSqlType<T> {
|
|||
case DriftSqlType.string:
|
||||
return dialect.textType;
|
||||
case DriftSqlType.bigInt:
|
||||
return dialect.bigIntType ?? dialect.integerType;
|
||||
case DriftSqlType.int:
|
||||
return dialect.integerType;
|
||||
case DriftSqlType.dateTime:
|
||||
|
|
Loading…
Reference in New Issue