mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 16:05:18 +00:00
14 lines
564 B
Dart
14 lines
564 B
Dart
part of '../database.dart';
|
|
|
|
class MetadataPluginsTable extends Table {
|
|
IntColumn get id => integer().autoIncrement()();
|
|
TextColumn get name => text().withLength(min: 1, max: 50)();
|
|
TextColumn get description => text()();
|
|
TextColumn get version => text()();
|
|
TextColumn get author => text()();
|
|
TextColumn get entryPoint => text()();
|
|
TextColumn get apis => text().map(const StringListConverter())();
|
|
TextColumn get abilities => text().map(const StringListConverter())();
|
|
BoolColumn get selected => boolean().withDefault(const Constant(false))();
|
|
}
|