mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-20 03:46:38 +00:00
Adjust migration
This commit is contained in:
@@ -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