Some checks failed
Build and Push Docker Images (Trusted) / build-and-push (., docker/caddy/Dockerfile, caddy) (push) Has been cancelled
Build and Push Docker Images (Trusted) / build-and-push (., docker/l4-port-manager/Dockerfile, l4-port-manager) (push) Has been cancelled
Build and Push Docker Images (Trusted) / build-and-push (., docker/web/Dockerfile, web) (push) Has been cancelled
Tests / test (push) Has been cancelled
13 lines
405 B
SQL
Executable File
13 lines
405 B
SQL
Executable File
CREATE TABLE `instances` (
|
|
`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
|
|
`name` text NOT NULL,
|
|
`base_url` text NOT NULL,
|
|
`api_token` text NOT NULL,
|
|
`enabled` integer DEFAULT true NOT NULL,
|
|
`last_sync_at` text,
|
|
`last_sync_error` text,
|
|
`created_at` text NOT NULL,
|
|
`updated_at` text NOT NULL
|
|
);
|
|
--> statement-breakpoint
|
|
CREATE UNIQUE INDEX `instances_base_url_unique` ON `instances` (`base_url`); |