mirror of
https://github.com/leinelissen/jellyfin-audio-player.git
synced 2026-09-02 21:03:11 +03:00
Fix schema folder imports to use relative paths
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { sqliteTable, text, integer, index, primaryKey } from 'drizzle-orm/sqlite-core';
|
||||
import { sources } from '../db/schema/sources';
|
||||
import { sources } from './sources';
|
||||
|
||||
/**
|
||||
* Album-Artists relation table (many-to-many)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { sqliteTable, text, primaryKey } from 'drizzle-orm/sqlite-core';
|
||||
import { sources } from '../db/schema/sources';
|
||||
import { sources } from './sources';
|
||||
|
||||
/**
|
||||
* Album-Similar relation table (for similar albums)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { sqliteTable, text, integer, index } from 'drizzle-orm/sqlite-core';
|
||||
import { sources } from '../db/schema/sources';
|
||||
import { sources } from './sources';
|
||||
|
||||
/**
|
||||
* Albums table
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { sqliteTable, text, integer, index } from 'drizzle-orm/sqlite-core';
|
||||
import { sources } from '../db/schema/sources';
|
||||
import { sources } from './sources';
|
||||
|
||||
/**
|
||||
* Artists table
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { sqliteTable, text, integer } from 'drizzle-orm/sqlite-core';
|
||||
import { sources } from '../db/schema/sources';
|
||||
import { sources } from './sources';
|
||||
|
||||
/**
|
||||
* Downloads table
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { sqliteTable, text, integer, index, primaryKey } from 'drizzle-orm/sqlite-core';
|
||||
import { sources } from '../db/schema/sources';
|
||||
import { sources } from './sources';
|
||||
|
||||
/**
|
||||
* Playlist-Tracks relation table (many-to-many with position)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { sqliteTable, text, integer, index } from 'drizzle-orm/sqlite-core';
|
||||
import { sources } from '../db/schema/sources';
|
||||
import { sources } from './sources';
|
||||
|
||||
/**
|
||||
* Playlists table
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { sqliteTable, text, integer, index } from 'drizzle-orm/sqlite-core';
|
||||
import { sources } from '../db/schema/sources';
|
||||
import { sources } from './sources';
|
||||
|
||||
/**
|
||||
* Search queries table
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { sqliteTable, text, integer, primaryKey } from 'drizzle-orm/sqlite-core';
|
||||
import { sources } from '../db/schema/sources';
|
||||
import { sources } from './sources';
|
||||
|
||||
/**
|
||||
* Sync cursors table - tracks prefill progress
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { sqliteTable, text, integer, index, primaryKey } from 'drizzle-orm/sqlite-core';
|
||||
import { sources } from '../db/schema/sources';
|
||||
import { sources } from './sources';
|
||||
|
||||
/**
|
||||
* Track-Artists relation table (many-to-many)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { sqliteTable, text, integer, index } from 'drizzle-orm/sqlite-core';
|
||||
import { sources } from '../db/schema/sources';
|
||||
import { sources } from './sources';
|
||||
|
||||
/**
|
||||
* Tracks table
|
||||
|
||||
Reference in New Issue
Block a user