refactor(backend): rename mediacore package to media

This commit is contained in:
Gabriel20xx committed 2026-11-01 21:50:47 +01:00
1 parent e8cb7c6c68
commit 75c08beec6
34 files changed
+837 -656

No files matched your search

@@ -11,7 +11,7 @@ import (
)
// platformUsersSchema holds the test's own `users` table, so it never meets the fuller table that
// mediacore's migration creates in the same database.
// the media package's migration creates in the same database.
const platformUsersSchema = "platform_users_test"
// withSearchPath returns databaseURL with its search_path set to schema.
@@ -29,7 +29,7 @@ func withSearchPath(t *testing.T, databaseURL, schema string) string {
// TestPlatformUserSQL runs the moderatable platform-user methods (CreateUser, ListUsers,
// UpdateUser, SetPassword, DeleteUser) against a real database. The `users` table normally comes
// from mediacore's migration, which this package cannot import, so the test creates the columns it
// from the media package's migration, which this package cannot import, so the test creates the columns it
// needs in a schema of its own. It is skipped unless SHARED_TEST_DATABASE_URL points at a scratch
// database, for example:
//