chore: add index to asset.createdAt

This commit is contained in:
izzy
2026-01-13 09:46:52 +00:00
parent aebde65825
commit 26d2b41e05
3 changed files with 3 additions and 9 deletions
-8
View File
@@ -130,14 +130,6 @@ const create = (path: string, up: string[], down: string[]) => {
const compare = async () => {
const configRepository = new ConfigRepository();
const { database } = configRepository.getEnv();
database.config = {
connectionType: 'parts',
database: 'immich',
host: 'database',
password: 'postgres',
username: 'postgres',
port: 5432,
};
const db = postgres(asPostgresConnectionConfig(database.config));
const source = schemaFromCode({ overrides: true, namingStrategy: 'default' });