registry config: create table and migrate existing setting

This commit is contained in:
Girish Ramakrishnan
2025-05-07 14:09:10 +02:00
parent 91fd93c724
commit 1bbdabc42f
15 changed files with 441 additions and 123 deletions

View File

@@ -293,6 +293,17 @@ CREATE TABLE IF NOT EXISTS appPasswords(
PRIMARY KEY (id)
);
CREATE TABLE IF NOT EXISTS dockerRegistries(
id VARCHAR(128) NOT NULL UNIQUE,
provider VARCHAR(16) NOT NULL,
serverAddress VARCHAR(128) NOT NULL,
username VARCHAR(128),
email VARCHAR(128),
password VARCHAR(128),
PRIMARY KEY (id)
);
CREATE TABLE IF NOT EXISTS volumes(
id VARCHAR(128) NOT NULL UNIQUE,
name VARCHAR(256) NOT NULL UNIQUE,