feat : move media to public schema
This commit is contained in:
+1
-2
@@ -24,7 +24,6 @@ import type {
|
||||
import type { ExtraSheet } from "@/lib/guides/extra-sheet";
|
||||
|
||||
const authSchema = pgSchema("auth");
|
||||
const mediaSchema = pgSchema("media");
|
||||
const catalogSchema = pgSchema("catalog");
|
||||
const guidesSchema = pgSchema("guides");
|
||||
|
||||
@@ -118,7 +117,7 @@ export const verifications = authSchema.table(
|
||||
(table) => [index("verification_identifier_idx").on(table.identifier)],
|
||||
);
|
||||
|
||||
export const media = mediaSchema.table(
|
||||
export const media = pgTable(
|
||||
"media",
|
||||
{
|
||||
id: uuid("id").defaultRandom().primaryKey(),
|
||||
|
||||
Reference in New Issue
Block a user