diff --git a/src/backend/common/database/drizzle/migrations/20260428131524_naive_boomer/migration.sql b/src/backend/common/database/drizzle/migrations/20260505165955_grey_hitman/migration.sql similarity index 96% rename from src/backend/common/database/drizzle/migrations/20260428131524_naive_boomer/migration.sql rename to src/backend/common/database/drizzle/migrations/20260505165955_grey_hitman/migration.sql index 35349b1e..3d5653cf 100644 --- a/src/backend/common/database/drizzle/migrations/20260428131524_naive_boomer/migration.sql +++ b/src/backend/common/database/drizzle/migrations/20260505165955_grey_hitman/migration.sql @@ -28,7 +28,6 @@ CREATE TABLE `plays` ( `play` text NOT NULL, `state` text NOT NULL, `parentId` integer, - `platformId` text, `playHash` text, `mbidIdentifier` text, `compacted` text, @@ -57,5 +56,4 @@ CREATE INDEX `play_component_id_idx` ON `plays` (`componentId`);--> statement-br CREATE UNIQUE INDEX `play_uid_idx` ON `plays` (`uid`);--> statement-breakpoint CREATE INDEX `play_playedAt_idx` ON `plays` (`playedAt`);--> statement-breakpoint CREATE INDEX `play_seenAt_idx` ON `plays` (`seenAt`);--> statement-breakpoint -CREATE INDEX `play_platform_idx` ON `plays` (`platformId`);--> statement-breakpoint CREATE INDEX `play_queue_state_id_idx` ON `play_queue_states` (`playId`); \ No newline at end of file diff --git a/src/backend/common/database/drizzle/migrations/20260428131524_naive_boomer/snapshot.json b/src/backend/common/database/drizzle/migrations/20260505165955_grey_hitman/snapshot.json similarity index 95% rename from src/backend/common/database/drizzle/migrations/20260428131524_naive_boomer/snapshot.json rename to src/backend/common/database/drizzle/migrations/20260505165955_grey_hitman/snapshot.json index 758c6870..c525f896 100644 --- a/src/backend/common/database/drizzle/migrations/20260428131524_naive_boomer/snapshot.json +++ b/src/backend/common/database/drizzle/migrations/20260505165955_grey_hitman/snapshot.json @@ -1,7 +1,7 @@ { "version": "7", "dialect": "sqlite", - "id": "69eeda8c-8c71-441f-b7ce-4b0d3ce6d361", + "id": "6daeb8f1-16a7-46c7-907b-9474e8a3ced0", "prevIds": [ "00000000-0000-0000-0000-000000000000" ], @@ -242,16 +242,6 @@ "entityType": "columns", "table": "plays" }, - { - "type": "text", - "notNull": false, - "autoincrement": false, - "default": null, - "generated": null, - "name": "platformId", - "entityType": "columns", - "table": "plays" - }, { "type": "text", "notNull": false, @@ -589,20 +579,6 @@ "entityType": "indexes", "table": "plays" }, - { - "columns": [ - { - "value": "platformId", - "isExpression": false - } - ], - "isUnique": false, - "where": null, - "origin": "manual", - "name": "play_platform_idx", - "entityType": "indexes", - "table": "plays" - }, { "columns": [ {