Compare commits

...

2 Commits

Author SHA1 Message Date
DebaucheryLibrarian
c3993102c2 1.252.12 2026-05-20 04:47:31 +02:00
DebaucheryLibrarian
7a226c165d Actors table allows for global actors with the same name/slug with unique entry IDs. 2026-05-20 04:47:26 +02:00
3 changed files with 16 additions and 3 deletions

View File

@@ -0,0 +1,13 @@
exports.up = async function(knex) {
await knex.raw(`
DROP INDEX unique_actor_slugs;
CREATE UNIQUE INDEX unique_actor_slugs ON actors (slug, entry_id) WHERE entity_id IS NULL;
`);
};
exports.down = async function(knex) {
await knex.raw(`
DROP INDEX unique_actor_slugs;
CREATE UNIQUE INDEX unique_actor_slugs ON actors (slug) WHERE entity_id IS NULL;
`);
};

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "traxxx",
"version": "1.252.11",
"version": "1.252.12",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "traxxx",
"version": "1.252.11",
"version": "1.252.12",
"license": "ISC",
"dependencies": {
"@aws-sdk/client-s3": "^3.458.0",

View File

@@ -1,6 +1,6 @@
{
"name": "traxxx",
"version": "1.252.11",
"version": "1.252.12",
"description": "All the latest porn releases in one place",
"main": "src/app.js",
"scripts": {