mirror of
https://github.com/fosrl/pangolin.git
synced 2025-12-04 06:58:52 +00:00
Adjust migration
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# To see all available options, please visit the docs:
|
||||
# https://docs.digpangolin.com/self-host/advanced/config-file
|
||||
# https://docs.digpangolin.com/
|
||||
|
||||
gerbil:
|
||||
start_port: 51820
|
||||
|
||||
@@ -2,7 +2,7 @@ import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
|
||||
// This is a placeholder value replaced by the build process
|
||||
export const APP_VERSION = "1.10.4";
|
||||
export const APP_VERSION = "1.11.0";
|
||||
|
||||
export const __FILENAME = fileURLToPath(import.meta.url);
|
||||
export const __DIRNAME = path.dirname(__FILENAME);
|
||||
|
||||
@@ -51,8 +51,9 @@ export default async function migration() {
|
||||
);
|
||||
`).run();
|
||||
|
||||
db.prepare(`CREATE UNIQUE INDEX 'certificates_domain_unique' ON 'certificates' ('domain');`).run();
|
||||
|
||||
db.prepare(`
|
||||
CREATE UNIQUE INDEX 'certificates_domain_unique' ON 'certificates' ('domain');--> statement-breakpoint
|
||||
CREATE TABLE 'customers' (
|
||||
'customerId' text PRIMARY KEY NOT NULL,
|
||||
'orgId' text NOT NULL,
|
||||
|
||||
Reference in New Issue
Block a user