Use timestamptz for audit engagement dates
Store audit_start_date and audit_end_date as TIMESTAMP WITH TIME ZONE. Alphabetize n8n audit field collections to satisfy n8n-node lint. Signed-off-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Bryan FRIMIN <bryan@frimin.fr>
This commit is contained in:
committed by
Bryan Frimin
parent
fe215efbd1
commit
f8f5152566
@@ -63,6 +63,20 @@ export const description: INodeProperties[] = [
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
options: [
|
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',
|
displayName: 'Name',
|
||||||
name: 'name',
|
name: 'name',
|
||||||
@@ -113,20 +127,6 @@ export const description: INodeProperties[] = [
|
|||||||
default: '',
|
default: '',
|
||||||
description: 'The end date of the audit validity period',
|
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',
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -49,6 +49,20 @@ export const description: INodeProperties[] = [
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
options: [
|
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',
|
displayName: 'Name',
|
||||||
name: 'name',
|
name: 'name',
|
||||||
@@ -99,20 +113,6 @@ export const description: INodeProperties[] = [
|
|||||||
default: '',
|
default: '',
|
||||||
description: 'The end date of the audit validity period',
|
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',
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -18,5 +18,5 @@
|
|||||||
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
-- SOFTWARE.
|
-- SOFTWARE.
|
||||||
|
|
||||||
ALTER TABLE audits ADD COLUMN audit_start_date DATE;
|
ALTER TABLE audits ADD COLUMN audit_start_date TIMESTAMP WITH TIME ZONE;
|
||||||
ALTER TABLE audits ADD COLUMN audit_end_date DATE;
|
ALTER TABLE audits ADD COLUMN audit_end_date TIMESTAMP WITH TIME ZONE;
|
||||||
|
|||||||
Reference in New Issue
Block a user