mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-25 07:16:27 +00:00
use cron instead of interval
This commit is contained in:
@@ -5,7 +5,7 @@ const up = async (knex: Knex) => {
|
||||
await knex.schema.alterTable(MetaTable.AUTOMATIONS, (table) => {
|
||||
table.boolean('wf_is_polling').defaultTo(false);
|
||||
table.boolean('wf_is_polling_heartbeat').defaultTo(false);
|
||||
table.integer('wf_polling_interval');
|
||||
table.string('wf_polling_cron');
|
||||
table.bigint('wf_next_polling_at');
|
||||
});
|
||||
};
|
||||
@@ -14,7 +14,7 @@ const down = async (knex: Knex) => {
|
||||
await knex.schema.alterTable(MetaTable.AUTOMATIONS, (table) => {
|
||||
table.dropColumn('wf_is_polling');
|
||||
table.dropColumn('wf_is_polling_heartbeat');
|
||||
table.dropColumn('wf_polling_interval');
|
||||
table.dropColumn('wf_polling_cron');
|
||||
table.dropColumn('wf_next_polling_at');
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user