mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-17 12:56:29 +00:00
13 lines
373 B
TypeScript
13 lines
373 B
TypeScript
import { Knex } from "knex";
|
|
|
|
import { TableName } from "../schemas";
|
|
import { createOnUpdateTrigger, dropOnUpdateTrigger } from "../utils";
|
|
|
|
export async function up(knex: Knex): Promise<void> {
|
|
await createOnUpdateTrigger(knex, TableName.OidcConfig);
|
|
}
|
|
|
|
export async function down(knex: Knex): Promise<void> {
|
|
await dropOnUpdateTrigger(knex, TableName.OidcConfig);
|
|
}
|