mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Update 20240930134623_secret-sharing-string-id.ts
This commit is contained in:
@@ -63,6 +63,9 @@ export async function down(knex: Knex): Promise<void> {
|
||||
|
||||
// Set the new column as primary key
|
||||
t.primary(["id"]);
|
||||
|
||||
// Set the id column to use a UUID default
|
||||
t.uuid("id").defaultTo(knex.raw("gen_random_uuid()")).notNullable().alter();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user