diff --git a/data/avro-schema/src/main/resources/avro/net/corda/data/scheduler/ScheduledTaskTrigger.avsc b/data/avro-schema/src/main/resources/avro/net/corda/data/scheduler/ScheduledTaskTrigger.avsc new file mode 100644 index 0000000000..bf0834ef3d --- /dev/null +++ b/data/avro-schema/src/main/resources/avro/net/corda/data/scheduler/ScheduledTaskTrigger.avsc @@ -0,0 +1,20 @@ +{ + "type": "record", + "name": "ScheduledTaskTrigger", + "namespace": "net.corda.data.scheduler", + "fields": [ + { + "name": "name", + "type": "string", + "doc": "Name of the scheduled task." + }, + { + "name": "timestamp", + "type": { + "type": "long", + "logicalType": "timestamp-millis" + }, + "doc": "Timestamp for the trigger." + } + ] +} \ No newline at end of file diff --git a/data/db-schema/src/main/resources/net/corda/db/schema/config/db.changelog-master.xml b/data/db-schema/src/main/resources/net/corda/db/schema/config/db.changelog-master.xml index 555289cace..6437b8df8b 100644 --- a/data/db-schema/src/main/resources/net/corda/db/schema/config/db.changelog-master.xml +++ b/data/db-schema/src/main/resources/net/corda/db/schema/config/db.changelog-master.xml @@ -8,4 +8,5 @@ + diff --git a/data/db-schema/src/main/resources/net/corda/db/schema/config/migration/scheduler-creation-v5.1.xml b/data/db-schema/src/main/resources/net/corda/db/schema/config/migration/scheduler-creation-v5.1.xml new file mode 100644 index 0000000000..a4d624db7d --- /dev/null +++ b/data/db-schema/src/main/resources/net/corda/db/schema/config/migration/scheduler-creation-v5.1.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file