mirror of https://github.com/AMT-Cheif/drift.git
Run build
This commit is contained in:
parent
c1ee1f7274
commit
5a6f402d86
|
@ -548,8 +548,8 @@ class Config extends DataClass implements Insertable<Config> {
|
|||
configKey: serializer.fromJson<String>(json['config_key']),
|
||||
configValue: serializer.fromJson<String?>(json['config_value']),
|
||||
syncState: serializer.fromJson<SyncType?>(json['sync_state']),
|
||||
syncStateImplicit:
|
||||
serializer.fromJson<SyncType?>(json['sync_state_implicit']),
|
||||
syncStateImplicit: ConfigTable.$convertersyncStateImplicitn
|
||||
.fromJson(serializer.fromJson<int?>(json['sync_state_implicit'])),
|
||||
);
|
||||
}
|
||||
factory Config.fromJsonString(String encodedJson,
|
||||
|
@ -563,7 +563,8 @@ class Config extends DataClass implements Insertable<Config> {
|
|||
'config_key': serializer.toJson<String>(configKey),
|
||||
'config_value': serializer.toJson<String?>(configValue),
|
||||
'sync_state': serializer.toJson<SyncType?>(syncState),
|
||||
'sync_state_implicit': serializer.toJson<SyncType?>(syncStateImplicit),
|
||||
'sync_state_implicit': serializer.toJson<int?>(
|
||||
ConfigTable.$convertersyncStateImplicitn.toJson(syncStateImplicit)),
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -774,10 +775,11 @@ class ConfigTable extends Table with TableInfo<ConfigTable, Config> {
|
|||
const SyncTypeConverter();
|
||||
static TypeConverter<SyncType?, int?> $convertersyncStaten =
|
||||
NullAwareTypeConverter.wrap($convertersyncState);
|
||||
static TypeConverter<SyncType, int> $convertersyncStateImplicit =
|
||||
static JsonTypeConverter2<SyncType, int, int> $convertersyncStateImplicit =
|
||||
const EnumIndexConverter<SyncType>(SyncType.values);
|
||||
static TypeConverter<SyncType?, int?> $convertersyncStateImplicitn =
|
||||
NullAwareTypeConverter.wrap($convertersyncStateImplicit);
|
||||
static JsonTypeConverter2<SyncType?, int?, int?>
|
||||
$convertersyncStateImplicitn =
|
||||
JsonTypeConverter2.asNullable($convertersyncStateImplicit);
|
||||
@override
|
||||
bool get isStrict => true;
|
||||
@override
|
||||
|
@ -1472,8 +1474,8 @@ class MyViewData extends DataClass {
|
|||
configKey: serializer.fromJson<String>(json['config_key']),
|
||||
configValue: serializer.fromJson<String?>(json['config_value']),
|
||||
syncState: serializer.fromJson<SyncType?>(json['sync_state']),
|
||||
syncStateImplicit:
|
||||
serializer.fromJson<SyncType?>(json['sync_state_implicit']),
|
||||
syncStateImplicit: ConfigTable.$convertersyncStateImplicitn
|
||||
.fromJson(serializer.fromJson<int?>(json['sync_state_implicit'])),
|
||||
);
|
||||
}
|
||||
factory MyViewData.fromJsonString(String encodedJson,
|
||||
|
@ -1488,7 +1490,8 @@ class MyViewData extends DataClass {
|
|||
'config_key': serializer.toJson<String>(configKey),
|
||||
'config_value': serializer.toJson<String?>(configValue),
|
||||
'sync_state': serializer.toJson<SyncType?>(syncState),
|
||||
'sync_state_implicit': serializer.toJson<SyncType?>(syncStateImplicit),
|
||||
'sync_state_implicit': serializer.toJson<int?>(
|
||||
ConfigTable.$convertersyncStateImplicitn.toJson(syncStateImplicit)),
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -39,7 +39,8 @@ class Category extends DataClass implements Insertable<Category> {
|
|||
return Category(
|
||||
id: serializer.fromJson<int>(json['id']),
|
||||
description: serializer.fromJson<String>(json['description']),
|
||||
priority: serializer.fromJson<CategoryPriority>(json['priority']),
|
||||
priority: $CategoriesTable.$converterpriority
|
||||
.fromJson(serializer.fromJson<int>(json['priority'])),
|
||||
descriptionInUpperCase:
|
||||
serializer.fromJson<String>(json['descriptionInUpperCase']),
|
||||
);
|
||||
|
@ -55,7 +56,8 @@ class Category extends DataClass implements Insertable<Category> {
|
|||
return <String, dynamic>{
|
||||
'id': serializer.toJson<int>(id),
|
||||
'description': serializer.toJson<String>(description),
|
||||
'priority': serializer.toJson<CategoryPriority>(priority),
|
||||
'priority': serializer
|
||||
.toJson<int>($CategoriesTable.$converterpriority.toJson(priority)),
|
||||
'descriptionInUpperCase':
|
||||
serializer.toJson<String>(descriptionInUpperCase),
|
||||
};
|
||||
|
@ -256,7 +258,7 @@ class $CategoriesTable extends Categories
|
|||
return $CategoriesTable(attachedDatabase, alias);
|
||||
}
|
||||
|
||||
static TypeConverter<CategoryPriority, int> $converterpriority =
|
||||
static JsonTypeConverter2<CategoryPriority, int, int> $converterpriority =
|
||||
const EnumIndexConverter<CategoryPriority>(CategoryPriority.values);
|
||||
}
|
||||
|
||||
|
@ -321,7 +323,8 @@ class TodoEntry extends DataClass implements Insertable<TodoEntry> {
|
|||
content: serializer.fromJson<String>(json['content']),
|
||||
targetDate: serializer.fromJson<DateTime?>(json['target_date']),
|
||||
category: serializer.fromJson<int?>(json['category']),
|
||||
status: serializer.fromJson<TodoStatus?>(json['status']),
|
||||
status: $TodosTableTable.$converterstatusn
|
||||
.fromJson(serializer.fromJson<String?>(json['status'])),
|
||||
);
|
||||
}
|
||||
factory TodoEntry.fromJsonString(String encodedJson,
|
||||
|
@ -338,7 +341,8 @@ class TodoEntry extends DataClass implements Insertable<TodoEntry> {
|
|||
'content': serializer.toJson<String>(content),
|
||||
'target_date': serializer.toJson<DateTime?>(targetDate),
|
||||
'category': serializer.toJson<int?>(category),
|
||||
'status': serializer.toJson<TodoStatus?>(status),
|
||||
'status': serializer
|
||||
.toJson<String?>($TodosTableTable.$converterstatusn.toJson(status)),
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -605,10 +609,10 @@ class $TodosTableTable extends TodosTable
|
|||
return $TodosTableTable(attachedDatabase, alias);
|
||||
}
|
||||
|
||||
static TypeConverter<TodoStatus, String> $converterstatus =
|
||||
static JsonTypeConverter2<TodoStatus, String, String> $converterstatus =
|
||||
const EnumNameConverter<TodoStatus>(TodoStatus.values);
|
||||
static TypeConverter<TodoStatus?, String?> $converterstatusn =
|
||||
NullAwareTypeConverter.wrap($converterstatus);
|
||||
static JsonTypeConverter2<TodoStatus?, String?, String?> $converterstatusn =
|
||||
JsonTypeConverter2.asNullable($converterstatus);
|
||||
}
|
||||
|
||||
class User extends DataClass implements Insertable<User> {
|
||||
|
@ -1308,7 +1312,7 @@ class PureDefault extends DataClass implements Insertable<PureDefault> {
|
|||
serializer ??= driftRuntimeOptions.defaultSerializer;
|
||||
return PureDefault(
|
||||
txt: $PureDefaultsTable.$convertertxtn
|
||||
.fromJson(serializer.fromJson<Map<dynamic, dynamic>>(json['txt'])),
|
||||
.fromJson(serializer.fromJson<Map<dynamic, dynamic>?>(json['txt'])),
|
||||
);
|
||||
}
|
||||
factory PureDefault.fromJsonString(String encodedJson,
|
||||
|
|
|
@ -142,7 +142,7 @@ class $CategoriesTable extends Categories
|
|||
final GeneratedDatabase attachedDatabase;
|
||||
final String? _alias;
|
||||
$CategoriesTable(this.attachedDatabase, [this._alias]);
|
||||
final VerificationMeta _idMeta = const VerificationMeta('id');
|
||||
static const VerificationMeta _idMeta = const VerificationMeta('id');
|
||||
@override
|
||||
late final GeneratedColumn<int> id = GeneratedColumn<int>(
|
||||
'id', aliasedName, false,
|
||||
|
@ -151,12 +151,12 @@ class $CategoriesTable extends Categories
|
|||
requiredDuringInsert: false,
|
||||
defaultConstraints:
|
||||
GeneratedColumn.constraintIsAlways('PRIMARY KEY AUTOINCREMENT'));
|
||||
final VerificationMeta _nameMeta = const VerificationMeta('name');
|
||||
static const VerificationMeta _nameMeta = const VerificationMeta('name');
|
||||
@override
|
||||
late final GeneratedColumn<String> name = GeneratedColumn<String>(
|
||||
'name', aliasedName, false,
|
||||
type: DriftSqlType.string, requiredDuringInsert: true);
|
||||
final VerificationMeta _colorMeta = const VerificationMeta('color');
|
||||
static const VerificationMeta _colorMeta = const VerificationMeta('color');
|
||||
@override
|
||||
late final GeneratedColumnWithTypeConverter<Color, int> color =
|
||||
GeneratedColumn<int>('color', aliasedName, false,
|
||||
|
@ -382,7 +382,7 @@ class $TodoEntriesTable extends TodoEntries
|
|||
final GeneratedDatabase attachedDatabase;
|
||||
final String? _alias;
|
||||
$TodoEntriesTable(this.attachedDatabase, [this._alias]);
|
||||
final VerificationMeta _idMeta = const VerificationMeta('id');
|
||||
static const VerificationMeta _idMeta = const VerificationMeta('id');
|
||||
@override
|
||||
late final GeneratedColumn<int> id = GeneratedColumn<int>(
|
||||
'id', aliasedName, false,
|
||||
|
@ -391,13 +391,14 @@ class $TodoEntriesTable extends TodoEntries
|
|||
requiredDuringInsert: false,
|
||||
defaultConstraints:
|
||||
GeneratedColumn.constraintIsAlways('PRIMARY KEY AUTOINCREMENT'));
|
||||
final VerificationMeta _descriptionMeta =
|
||||
static const VerificationMeta _descriptionMeta =
|
||||
const VerificationMeta('description');
|
||||
@override
|
||||
late final GeneratedColumn<String> description = GeneratedColumn<String>(
|
||||
'description', aliasedName, false,
|
||||
type: DriftSqlType.string, requiredDuringInsert: true);
|
||||
final VerificationMeta _categoryMeta = const VerificationMeta('category');
|
||||
static const VerificationMeta _categoryMeta =
|
||||
const VerificationMeta('category');
|
||||
@override
|
||||
late final GeneratedColumn<int> category = GeneratedColumn<int>(
|
||||
'category', aliasedName, true,
|
||||
|
@ -405,7 +406,8 @@ class $TodoEntriesTable extends TodoEntries
|
|||
requiredDuringInsert: false,
|
||||
defaultConstraints:
|
||||
GeneratedColumn.constraintIsAlways('REFERENCES categories (id)'));
|
||||
final VerificationMeta _dueDateMeta = const VerificationMeta('dueDate');
|
||||
static const VerificationMeta _dueDateMeta =
|
||||
const VerificationMeta('dueDate');
|
||||
@override
|
||||
late final GeneratedColumn<DateTime> dueDate = GeneratedColumn<DateTime>(
|
||||
'due_date', aliasedName, true,
|
||||
|
@ -564,7 +566,7 @@ class TextEntries extends Table
|
|||
final GeneratedDatabase attachedDatabase;
|
||||
final String? _alias;
|
||||
TextEntries(this.attachedDatabase, [this._alias]);
|
||||
final VerificationMeta _descriptionMeta =
|
||||
static const VerificationMeta _descriptionMeta =
|
||||
const VerificationMeta('description');
|
||||
late final GeneratedColumn<String> description = GeneratedColumn<String>(
|
||||
'description', aliasedName, false,
|
||||
|
@ -594,7 +596,7 @@ class TextEntries extends Table
|
|||
}
|
||||
|
||||
@override
|
||||
Set<GeneratedColumn> get $primaryKey => const <GeneratedColumn>{};
|
||||
Set<GeneratedColumn> get $primaryKey => const {};
|
||||
@override
|
||||
TextEntrie map(Map<String, dynamic> data, {String? tablePrefix}) {
|
||||
final effectivePrefix = tablePrefix != null ? '$tablePrefix.' : '';
|
||||
|
@ -670,7 +672,7 @@ abstract class _$AppDatabase extends GeneratedDatabase {
|
|||
}
|
||||
|
||||
@override
|
||||
Iterable<TableInfo<Table, dynamic>> get allTables =>
|
||||
Iterable<TableInfo<Table, Object?>> get allTables =>
|
||||
allSchemaEntities.whereType<TableInfo<Table, Object?>>();
|
||||
@override
|
||||
List<DatabaseSchemaEntity> get allSchemaEntities => [
|
||||
|
|
|
@ -115,7 +115,7 @@ class $NotesTable extends Notes with TableInfo<$NotesTable, Note> {
|
|||
final GeneratedDatabase attachedDatabase;
|
||||
final String? _alias;
|
||||
$NotesTable(this.attachedDatabase, [this._alias]);
|
||||
final VerificationMeta _idMeta = const VerificationMeta('id');
|
||||
static const VerificationMeta _idMeta = const VerificationMeta('id');
|
||||
@override
|
||||
late final GeneratedColumn<int> id = GeneratedColumn<int>(
|
||||
'id', aliasedName, false,
|
||||
|
@ -124,7 +124,8 @@ class $NotesTable extends Notes with TableInfo<$NotesTable, Note> {
|
|||
requiredDuringInsert: false,
|
||||
defaultConstraints:
|
||||
GeneratedColumn.constraintIsAlways('PRIMARY KEY AUTOINCREMENT'));
|
||||
final VerificationMeta _contentMeta = const VerificationMeta('content');
|
||||
static const VerificationMeta _contentMeta =
|
||||
const VerificationMeta('content');
|
||||
@override
|
||||
late final GeneratedColumn<String> content = GeneratedColumn<String>(
|
||||
'content', aliasedName, false,
|
||||
|
@ -175,7 +176,7 @@ abstract class _$MyEncryptedDatabase extends GeneratedDatabase {
|
|||
_$MyEncryptedDatabase(QueryExecutor e) : super(e);
|
||||
late final $NotesTable notes = $NotesTable(this);
|
||||
@override
|
||||
Iterable<TableInfo<Table, dynamic>> get allTables =>
|
||||
Iterable<TableInfo<Table, Object?>> get allTables =>
|
||||
allSchemaEntities.whereType<TableInfo<Table, Object?>>();
|
||||
@override
|
||||
List<DatabaseSchemaEntity> get allSchemaEntities => [notes];
|
||||
|
|
|
@ -115,13 +115,13 @@ class Entries extends Table with TableInfo<Entries, Entrie> {
|
|||
final GeneratedDatabase attachedDatabase;
|
||||
final String? _alias;
|
||||
Entries(this.attachedDatabase, [this._alias]);
|
||||
final VerificationMeta _idMeta = const VerificationMeta('id');
|
||||
static const VerificationMeta _idMeta = const VerificationMeta('id');
|
||||
late final GeneratedColumn<int> id = GeneratedColumn<int>(
|
||||
'id', aliasedName, false,
|
||||
type: DriftSqlType.int,
|
||||
requiredDuringInsert: false,
|
||||
$customConstraints: 'PRIMARY KEY');
|
||||
final VerificationMeta _valueMeta = const VerificationMeta('value');
|
||||
static const VerificationMeta _valueMeta = const VerificationMeta('value');
|
||||
late final GeneratedColumn<String> value = GeneratedColumn<String>(
|
||||
'text', aliasedName, false,
|
||||
type: DriftSqlType.string,
|
||||
|
@ -201,7 +201,7 @@ abstract class _$MyDatabase extends GeneratedDatabase {
|
|||
}
|
||||
|
||||
@override
|
||||
Iterable<TableInfo<Table, dynamic>> get allTables =>
|
||||
Iterable<TableInfo<Table, Object?>> get allTables =>
|
||||
allSchemaEntities.whereType<TableInfo<Table, Object?>>();
|
||||
@override
|
||||
List<DatabaseSchemaEntity> get allSchemaEntities => [entries];
|
||||
|
|
|
@ -823,7 +823,7 @@ class GroupCount extends ViewInfo<GroupCount, GroupCountData>
|
|||
String get entityName => 'group_count';
|
||||
@override
|
||||
String get createViewStmt =>
|
||||
'CREATE VIEW group_count AS SELECT\n users.*,\n (SELECT COUNT(*) FROM "groups" WHERE owner = users.id) AS group_count\n FROM users;';
|
||||
'CREATE VIEW group_count AS SELECT users.*, (SELECT COUNT(*) FROM "groups" WHERE owner = users.id) AS group_count FROM users';
|
||||
@override
|
||||
GroupCount get asDslTable => this;
|
||||
@override
|
||||
|
|
|
@ -115,13 +115,13 @@ class Entries extends Table with TableInfo<Entries, Entrie> {
|
|||
final GeneratedDatabase attachedDatabase;
|
||||
final String? _alias;
|
||||
Entries(this.attachedDatabase, [this._alias]);
|
||||
final VerificationMeta _idMeta = const VerificationMeta('id');
|
||||
static const VerificationMeta _idMeta = const VerificationMeta('id');
|
||||
late final GeneratedColumn<int> id = GeneratedColumn<int>(
|
||||
'id', aliasedName, false,
|
||||
type: DriftSqlType.int,
|
||||
requiredDuringInsert: false,
|
||||
$customConstraints: 'PRIMARY KEY');
|
||||
final VerificationMeta _valueMeta = const VerificationMeta('value');
|
||||
static const VerificationMeta _valueMeta = const VerificationMeta('value');
|
||||
late final GeneratedColumn<String> value = GeneratedColumn<String>(
|
||||
'text', aliasedName, false,
|
||||
type: DriftSqlType.string,
|
||||
|
@ -202,7 +202,7 @@ abstract class _$MyDatabase extends GeneratedDatabase {
|
|||
}
|
||||
|
||||
@override
|
||||
Iterable<TableInfo<Table, dynamic>> get allTables =>
|
||||
Iterable<TableInfo<Table, Object?>> get allTables =>
|
||||
allSchemaEntities.whereType<TableInfo<Table, Object?>>();
|
||||
@override
|
||||
List<DatabaseSchemaEntity> get allSchemaEntities => [entries];
|
||||
|
|
|
@ -117,12 +117,12 @@ class $KeyValuesTable extends KeyValues
|
|||
final GeneratedDatabase attachedDatabase;
|
||||
final String? _alias;
|
||||
$KeyValuesTable(this.attachedDatabase, [this._alias]);
|
||||
final VerificationMeta _keyMeta = const VerificationMeta('key');
|
||||
static const VerificationMeta _keyMeta = const VerificationMeta('key');
|
||||
@override
|
||||
late final GeneratedColumn<String> key = GeneratedColumn<String>(
|
||||
'key', aliasedName, false,
|
||||
type: DriftSqlType.string, requiredDuringInsert: true);
|
||||
final VerificationMeta _valueMeta = const VerificationMeta('value');
|
||||
static const VerificationMeta _valueMeta = const VerificationMeta('value');
|
||||
@override
|
||||
late final GeneratedColumn<String> value = GeneratedColumn<String>(
|
||||
'value', aliasedName, false,
|
||||
|
@ -176,7 +176,7 @@ abstract class _$Database extends GeneratedDatabase {
|
|||
_$Database(QueryExecutor e) : super(e);
|
||||
late final $KeyValuesTable keyValues = $KeyValuesTable(this);
|
||||
@override
|
||||
Iterable<TableInfo<Table, dynamic>> get allTables =>
|
||||
Iterable<TableInfo<Table, Object?>> get allTables =>
|
||||
allSchemaEntities.whereType<TableInfo<Table, Object?>>();
|
||||
@override
|
||||
List<DatabaseSchemaEntity> get allSchemaEntities => [keyValues];
|
||||
|
|
|
@ -210,7 +210,7 @@ class $UsersTable extends Users with TableInfo<$UsersTable, User> {
|
|||
final GeneratedDatabase attachedDatabase;
|
||||
final String? _alias;
|
||||
$UsersTable(this.attachedDatabase, [this._alias]);
|
||||
final VerificationMeta _idMeta = const VerificationMeta('id');
|
||||
static const VerificationMeta _idMeta = const VerificationMeta('id');
|
||||
@override
|
||||
late final GeneratedColumn<int> id = GeneratedColumn<int>(
|
||||
'id', aliasedName, false,
|
||||
|
@ -219,23 +219,24 @@ class $UsersTable extends Users with TableInfo<$UsersTable, User> {
|
|||
requiredDuringInsert: false,
|
||||
defaultConstraints:
|
||||
GeneratedColumn.constraintIsAlways('PRIMARY KEY AUTOINCREMENT'));
|
||||
final VerificationMeta _nameMeta = const VerificationMeta('name');
|
||||
static const VerificationMeta _nameMeta = const VerificationMeta('name');
|
||||
@override
|
||||
late final GeneratedColumn<String> name = GeneratedColumn<String>(
|
||||
'name', aliasedName, false,
|
||||
type: DriftSqlType.string, requiredDuringInsert: true);
|
||||
final VerificationMeta _birthDateMeta = const VerificationMeta('birthDate');
|
||||
static const VerificationMeta _birthDateMeta =
|
||||
const VerificationMeta('birthDate');
|
||||
@override
|
||||
late final GeneratedColumn<DateTime> birthDate = GeneratedColumn<DateTime>(
|
||||
'birth_date', aliasedName, false,
|
||||
type: DriftSqlType.dateTime, requiredDuringInsert: true);
|
||||
final VerificationMeta _profilePictureMeta =
|
||||
static const VerificationMeta _profilePictureMeta =
|
||||
const VerificationMeta('profilePicture');
|
||||
@override
|
||||
late final GeneratedColumn<Uint8List> profilePicture =
|
||||
GeneratedColumn<Uint8List>('profile_picture', aliasedName, true,
|
||||
type: DriftSqlType.blob, requiredDuringInsert: false);
|
||||
final VerificationMeta _preferencesMeta =
|
||||
static const VerificationMeta _preferencesMeta =
|
||||
const VerificationMeta('preferences');
|
||||
@override
|
||||
late final GeneratedColumnWithTypeConverter<Preferences?, String>
|
||||
|
@ -455,17 +456,19 @@ class $FriendshipsTable extends Friendships
|
|||
final GeneratedDatabase attachedDatabase;
|
||||
final String? _alias;
|
||||
$FriendshipsTable(this.attachedDatabase, [this._alias]);
|
||||
final VerificationMeta _firstUserMeta = const VerificationMeta('firstUser');
|
||||
static const VerificationMeta _firstUserMeta =
|
||||
const VerificationMeta('firstUser');
|
||||
@override
|
||||
late final GeneratedColumn<int> firstUser = GeneratedColumn<int>(
|
||||
'first_user', aliasedName, false,
|
||||
type: DriftSqlType.int, requiredDuringInsert: true);
|
||||
final VerificationMeta _secondUserMeta = const VerificationMeta('secondUser');
|
||||
static const VerificationMeta _secondUserMeta =
|
||||
const VerificationMeta('secondUser');
|
||||
@override
|
||||
late final GeneratedColumn<int> secondUser = GeneratedColumn<int>(
|
||||
'second_user', aliasedName, false,
|
||||
type: DriftSqlType.int, requiredDuringInsert: true);
|
||||
final VerificationMeta _reallyGoodFriendsMeta =
|
||||
static const VerificationMeta _reallyGoodFriendsMeta =
|
||||
const VerificationMeta('reallyGoodFriends');
|
||||
@override
|
||||
late final GeneratedColumn<bool> reallyGoodFriends =
|
||||
|
@ -625,7 +628,7 @@ abstract class _$Database extends GeneratedDatabase {
|
|||
}
|
||||
|
||||
@override
|
||||
Iterable<TableInfo<Table, dynamic>> get allTables =>
|
||||
Iterable<TableInfo<Table, Object?>> get allTables =>
|
||||
allSchemaEntities.whereType<TableInfo<Table, Object?>>();
|
||||
@override
|
||||
List<DatabaseSchemaEntity> get allSchemaEntities => [users, friendships];
|
||||
|
|
|
@ -97,7 +97,7 @@ class $FoosTable extends Foos with TableInfo<$FoosTable, Foo> {
|
|||
final GeneratedDatabase attachedDatabase;
|
||||
final String? _alias;
|
||||
$FoosTable(this.attachedDatabase, [this._alias]);
|
||||
final VerificationMeta _idMeta = const VerificationMeta('id');
|
||||
static const VerificationMeta _idMeta = const VerificationMeta('id');
|
||||
@override
|
||||
late final GeneratedColumn<int> id = GeneratedColumn<int>(
|
||||
'id', aliasedName, false,
|
||||
|
@ -234,7 +234,7 @@ class $BarsTable extends Bars with TableInfo<$BarsTable, Bar> {
|
|||
final GeneratedDatabase attachedDatabase;
|
||||
final String? _alias;
|
||||
$BarsTable(this.attachedDatabase, [this._alias]);
|
||||
final VerificationMeta _idMeta = const VerificationMeta('id');
|
||||
static const VerificationMeta _idMeta = const VerificationMeta('id');
|
||||
@override
|
||||
late final GeneratedColumn<int> id = GeneratedColumn<int>(
|
||||
'id', aliasedName, false,
|
||||
|
@ -282,7 +282,7 @@ abstract class _$_FakeDb extends GeneratedDatabase {
|
|||
late final $FoosTable foos = $FoosTable(this);
|
||||
late final $BarsTable bars = $BarsTable(this);
|
||||
@override
|
||||
Iterable<TableInfo<Table, dynamic>> get allTables =>
|
||||
Iterable<TableInfo<Table, Object?>> get allTables =>
|
||||
allSchemaEntities.whereType<TableInfo<Table, Object?>>();
|
||||
@override
|
||||
List<DatabaseSchemaEntity> get allSchemaEntities => [foos, bars];
|
||||
|
|
Loading…
Reference in New Issue