diff --git a/packages/n8n-node/nodes/Probo/actions/audit/create.operation.ts b/packages/n8n-node/nodes/Probo/actions/audit/create.operation.ts index 5e9aab4fc..69e3979f9 100644 --- a/packages/n8n-node/nodes/Probo/actions/audit/create.operation.ts +++ b/packages/n8n-node/nodes/Probo/actions/audit/create.operation.ts @@ -63,6 +63,20 @@ export const description: INodeProperties[] = [ }, }, options: [ + { + displayName: 'Audit End Date', + name: 'auditEndDate', + type: 'dateTime', + default: '', + description: 'The end date of the audit engagement', + }, + { + displayName: 'Audit Start Date', + name: 'auditStartDate', + type: 'dateTime', + default: '', + description: 'The start date of the audit engagement', + }, { displayName: 'Name', name: 'name', @@ -113,20 +127,6 @@ export const description: INodeProperties[] = [ default: '', description: 'The end date of the audit validity period', }, - { - displayName: 'Audit Start Date', - name: 'auditStartDate', - type: 'dateTime', - default: '', - description: 'The start date of the audit engagement', - }, - { - displayName: 'Audit End Date', - name: 'auditEndDate', - type: 'dateTime', - default: '', - description: 'The end date of the audit engagement', - }, ], }, ]; diff --git a/packages/n8n-node/nodes/Probo/actions/audit/update.operation.ts b/packages/n8n-node/nodes/Probo/actions/audit/update.operation.ts index 9a390b1eb..99d27dfe0 100644 --- a/packages/n8n-node/nodes/Probo/actions/audit/update.operation.ts +++ b/packages/n8n-node/nodes/Probo/actions/audit/update.operation.ts @@ -49,6 +49,20 @@ export const description: INodeProperties[] = [ }, }, options: [ + { + displayName: 'Audit End Date', + name: 'auditEndDate', + type: 'dateTime', + default: '', + description: 'The end date of the audit engagement', + }, + { + displayName: 'Audit Start Date', + name: 'auditStartDate', + type: 'dateTime', + default: '', + description: 'The start date of the audit engagement', + }, { displayName: 'Name', name: 'name', @@ -99,20 +113,6 @@ export const description: INodeProperties[] = [ default: '', description: 'The end date of the audit validity period', }, - { - displayName: 'Audit Start Date', - name: 'auditStartDate', - type: 'dateTime', - default: '', - description: 'The start date of the audit engagement', - }, - { - displayName: 'Audit End Date', - name: 'auditEndDate', - type: 'dateTime', - default: '', - description: 'The end date of the audit engagement', - }, ], }, ]; diff --git a/pkg/coredata/migrations/20260728T142906Z.sql b/pkg/coredata/migrations/20260728T142906Z.sql index 17e52ba45..85b788e1c 100644 --- a/pkg/coredata/migrations/20260728T142906Z.sql +++ b/pkg/coredata/migrations/20260728T142906Z.sql @@ -18,5 +18,5 @@ -- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -- SOFTWARE. -ALTER TABLE audits ADD COLUMN audit_start_date DATE; -ALTER TABLE audits ADD COLUMN audit_end_date DATE; +ALTER TABLE audits ADD COLUMN audit_start_date TIMESTAMP WITH TIME ZONE; +ALTER TABLE audits ADD COLUMN audit_end_date TIMESTAMP WITH TIME ZONE;