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(),
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
ALTER TABLE "media"."media" SET SCHEMA "public";
|
||||
File diff suppressed because it is too large
Load Diff
@@ -365,6 +365,13 @@
|
||||
"when": 1790497927427,
|
||||
"tag": "0051_silky_big_bertha",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 52,
|
||||
"version": "7",
|
||||
"when": 1790498384479,
|
||||
"tag": "0052_round_blazing_skull",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user