Events collection should only use two date/time fields; turn off timestaps for collections

This commit is contained in:
2022-07-22 05:54:33 +01:00
parent 60c1c0759c
commit e154bff4e4
3 changed files with 13 additions and 47 deletions

View File

@@ -27,8 +27,6 @@ export interface User {
export interface EventType {
id: string;
name: string;
createdAt: string;
updatedAt: string;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
@@ -41,10 +39,6 @@ export interface Event {
value: string | EventType;
relationTo: 'event-types';
};
startDate: string;
endDate?: string;
startTime: string;
endTime?: string;
createdAt: string;
updatedAt: string;
}