Skip to content

Commit

Permalink
fix: use relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
AsyncFox committed Dec 7, 2023
1 parent 28919e6 commit 1391a95
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion server/db/schema/song.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { integer, sqliteTable, text } from 'drizzle-orm/sqlite-core';
import { useNanoID } from '~/composables/useNanoID';
import { useNanoID } from '../../../composables/useNanoID';

export const songs = sqliteTable('songs', {
id: text('id', { mode: 'text' }).primaryKey().$defaultFn(() => useNanoID()),
Expand Down
2 changes: 1 addition & 1 deletion server/db/schema/time.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { integer, sqliteTable, text } from 'drizzle-orm/sqlite-core';
import { useNanoID } from '~/composables/useNanoID';
import { useNanoID } from '../../../composables/useNanoID';

export const times = sqliteTable('times', {
id: text('id', { mode: 'text' }).primaryKey().$defaultFn(() => useNanoID()),
Expand Down
2 changes: 1 addition & 1 deletion server/db/schema/user.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { integer, sqliteTable, text } from 'drizzle-orm/sqlite-core';
import { useNanoID } from '~/composables/useNanoID';
import { useNanoID } from '../../../composables/useNanoID';

export const users = sqliteTable('users', {
id: text('id', { mode: 'text' }).primaryKey().$defaultFn(() => useNanoID()),
Expand Down

0 comments on commit 1391a95

Please sign in to comment.