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