mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 12:04:03 +00:00
16 lines
382 B
TypeScript
16 lines
382 B
TypeScript
import { Knex } from "knex";
|
|
|
|
import { TableName } from "../schemas";
|
|
|
|
export async function up(knex: Knex): Promise<void> {
|
|
await knex.schema.alterTable(TableName.Integration, (t) => {
|
|
t.datetime("lastUsed");
|
|
});
|
|
}
|
|
|
|
export async function down(knex: Knex): Promise<void> {
|
|
await knex.schema.alterTable(TableName.Integration, (t) => {
|
|
t.dropColumn("lastUsed");
|
|
});
|
|
}
|