import 'package:drift/drift.dart';

@DataClassName('DriftTag')
class Tags extends Table {
  IntColumn get id => integer().autoIncrement()();
  IntColumn get uid => integer().nullable()();
  TextColumn get name => text().withDefault(const Constant(''))();
  IntColumn get type => integer().nullable()();
  IntColumn get createdAt => integer().nullable()();
  IntColumn get updatedAt => integer().nullable()();
  IntColumn get addIndex => integer().nullable()();

  @override
  String get tableName => 'tags';
}