remove bigIntType from SqlDialect

This commit is contained in:
BananaMasterz 2023-07-20 01:03:53 +03:00
parent d2c3532c3f
commit d1e7e11696
2 changed files with 1 additions and 5 deletions

View File

@ -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,
});
}

View File

@ -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: