Skip to content

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

Put external_link column after host, port since it’s less important

天舟63258ffffcca
diff --git a/store/migration/0001_init_schema.up.sql b/store/migration/0001_init_schema.up.sql
index c2dae6f103..2115a05f08 100644
--- a/store/migration/0001_init_schema.up.sql
+++ b/store/migration/0001_init_schema.up.sql
@@ -222,9 +222,9 @@ CREATE TABLE instance (
environment_id INTEGER NOT NULL REFERENCES environment (id),
name TEXT NOT NULL,
`engine` TEXT NOT NULL CHECK (`engine` IN ('MYSQL')),
- external_link TEXT NOT NULL,
host TEXT NOT NULL,
- port TEXT NOT NULL
+ port TEXT NOT NULL,
+ external_link TEXT NOT NULL
);
INSERT INTO