People's public profiles are the instance's register's (ADR 0016), so the module now holds them: the public_profile table (unchanged, so Learn's migration records versions only; devices get the table empty, as they hold every module's tables), the profile and profiles endpoints under `base`, the handle rules, the link checks and the page at /@handle, whose foot names the app as the host's configuration says (profilePageNote). Deleting a person deletes their profile in the module's core. Hosts read profiles through the module (profileOf, profilesOf, personWithHandle, fixHandle; saveProfile for their tests), behind an AccountRegister that is this server's own database for now. Learn's feedback, discussions and publishing ask it; publishing fixes the handle just before it writes the release, outside its transaction. Explore still joins the table in its search, so Learn holds the register wherever it runs. Learn's app calls the module's endpoints; a profile not found is ProfileNotFoundException. Todo's database gets the table too (it was never deployed). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
43 lines
1.9 KiB
Dart
43 lines
1.9 KiB
Dart
/// AUTOGENERATED BY SERVERPOD create-migration - DO NOT EDIT BY HAND
|
|
/// Merging: resolve registry conflicts the same as migration_registry.txt.
|
|
library;
|
|
|
|
import 'package:serverpod_database/serverpod_database.dart';
|
|
|
|
part '20260930094729362-studysets/migration.dart';
|
|
part '20260930122235111-cards/migration.dart';
|
|
part '20260930145136285-reviews/migration.dart';
|
|
part '20261001064926911-tree-tags-assets/migration.dart';
|
|
part '20261002191122122-notes/migration.dart';
|
|
part '20261002211346701-learning-paths/migration.dart';
|
|
part '20261003110855698-pdf-sources/migration.dart';
|
|
part '20261007205440868-card-buried-at/migration.dart';
|
|
part '20261008165051407-pdf-position/migration.dart';
|
|
part '20261009224606274-feedback/migration.dart';
|
|
part '20261012162411835-studyset-deleted-at/migration.dart';
|
|
part '20261019121406578-halkyon-base/migration.dart';
|
|
part '20261019201023295-profiles-in-halkyon-base/migration.dart';
|
|
|
|
/// Migration registry for the client-side database.
|
|
class MigrationRegistry {
|
|
/// Ordered list of all client-side database migrations.
|
|
/// New migrations are always appended at the end.
|
|
static final List<MigrationVersionSql> migrations = [
|
|
_Migration20260930094729362_studysets(),
|
|
_Migration20260930122235111_cards(),
|
|
_Migration20260930145136285_reviews(),
|
|
_Migration20261001064926911_tree_tags_assets(),
|
|
_Migration20261002191122122_notes(),
|
|
_Migration20261002211346701_learning_paths(),
|
|
_Migration20261003110855698_pdf_sources(),
|
|
_Migration20261007205440868_card_buried_at(),
|
|
_Migration20261008165051407_pdf_position(),
|
|
_Migration20261009224606274_feedback(),
|
|
_Migration20261012162411835_studyset_deleted_at(),
|
|
_Migration20261019121406578_halkyon_base(),
|
|
_Migration20261019201023295_profiles_in_halkyon_base(),
|
|
];
|
|
|
|
/// List of all client-side database migration versions.
|
|
static List<String> get versions => migrations.map((m) => m.version).toList();
|
|
}
|