Display improvements

This commit is contained in:
Darren Clarke 2024-04-26 16:29:13 +02:00
parent cca8d03988
commit 39cfada3e8
9 changed files with 98 additions and 24 deletions

View file

@ -10,7 +10,6 @@ export async function up(db: Kysely<any>): Promise<void> {
.addColumn("description", "text")
.addColumn("backend_type", "text", (col) => col.notNull())
.addColumn("backend_id", "uuid", (col) => col.notNull())
.addColumn("name", "text", (col) => col.notNull())
.addColumn("endpoint_url", "text", (col) =>
col.notNull().check(sql`endpoint_url ~ '^https?://[^/]+'`),
)