mirror of https://github.com/AMT-Cheif/drift.git
26 lines
660 B
Dart
26 lines
660 B
Dart
import 'package:moor/moor.dart';
|
|
import 'package:tests/database/database.dart';
|
|
|
|
const int dashId = 1, dukeId = 2, gopherId = 3;
|
|
|
|
UsersCompanion dash = UsersCompanion(
|
|
name: const Value('Dash'),
|
|
birthDate: Value(DateTime(2011, 10, 11)),
|
|
);
|
|
|
|
UsersCompanion duke = UsersCompanion(
|
|
name: const Value('Duke'),
|
|
birthDate: Value(DateTime(1996, 1, 23)),
|
|
);
|
|
|
|
UsersCompanion gopher = UsersCompanion(
|
|
name: const Value('Go Gopher'),
|
|
birthDate: Value(DateTime(2012, 3, 28)),
|
|
);
|
|
|
|
UsersCompanion florian = UsersCompanion(
|
|
name: const Value(
|
|
'Florian, the fluffy Ferret from Florida familiar with Flutter'),
|
|
birthDate: Value(DateTime(2015, 4, 29)),
|
|
);
|