Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Add POSTGRES to allowed engine type

天舟e9a794bb50c9
diff --git a/store/migration/10001__init_schema.sql b/store/migration/10001__init_schema.sql
index b85fc89937..f2970d9280 100644
--- a/store/migration/10001__init_schema.sql
+++ b/store/migration/10001__init_schema.sql
@@ -257,7 +257,7 @@ CREATE TABLE instance (
updated_ts BIGINT NOT NULL DEFAULT (strftime('%s', 'now')),
environment_id INTEGER NOT NULL REFERENCES environment (id),
name TEXT NOT NULL,
- `engine` TEXT NOT NULL CHECK (`engine` IN ('MYSQL')),
+ `engine` TEXT NOT NULL CHECK (`engine` IN ('MYSQL', 'POSTGRES')),
host TEXT NOT NULL,
port TEXT NOT NULL,
external_link TEXT NOT NULL