misc: addressed review comments

This commit is contained in:
Sheen Capadngan
2024-08-26 21:10:29 +08:00
parent f560534493
commit 00f86cfd00
7 changed files with 93 additions and 54 deletions
@@ -12,7 +12,7 @@ export async function up(knex: Knex): Promise<void> {
tb.foreign("certificateTemplateId").references("id").inTable(TableName.CertificateTemplate).onDelete("CASCADE");
tb.binary("encryptedCaChain").notNullable();
tb.string("hashedPassphrase").notNullable();
tb.boolean("isEnabled");
tb.boolean("isEnabled").notNullable();
tb.timestamps(true, true, true);
});