created tables

This commit is contained in:
2025-06-28 10:21:21 +02:00
parent 7000429856
commit ff2b91e77e
11 changed files with 84 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
import 'package:drift/drift.dart';
class UserTable extends Table {
TextColumn get id => text()();
TextColumn get name => text()();
TextColumn get surname => text().nullable()();
@override
Set<Column<Object>> get primaryKey => {id};
}