From 439629cec1f6797910578ec0b537098d8afc585c Mon Sep 17 00:00:00 2001 From: ycz008 Date: Mon, 6 Nov 2023 17:07:41 +0800 Subject: [PATCH] remove invalid datatype --- tcs-upgrade/datatypes/EventStore | 129 ------------------------------- 1 file changed, 129 deletions(-) delete mode 100644 tcs-upgrade/datatypes/EventStore diff --git a/tcs-upgrade/datatypes/EventStore b/tcs-upgrade/datatypes/EventStore deleted file mode 100644 index c322bb9..0000000 --- a/tcs-upgrade/datatypes/EventStore +++ /dev/null @@ -1,129 +0,0 @@ -use EventStore; - -CREATE TABLE `authDomainEventEntry` ( - `globalIndex` bigint(20) NOT NULL AUTO_INCREMENT, - `aggregateIdentifier` varchar(255) NOT NULL, - `sequenceNumber` bigint(20) NOT NULL, - `type` varchar(255) DEFAULT NULL, - `eventIdentifier` varchar(255) NOT NULL, - `metaData` blob, - `payload` blob NOT NULL, - `payloadRevision` varchar(255) DEFAULT NULL, - `payloadType` varchar(255) NOT NULL, - `timeStamp` varchar(255) NOT NULL, - PRIMARY KEY (`globalIndex`), - UNIQUE KEY `aggregateIdentifier` (`aggregateIdentifier`,`sequenceNumber`), - UNIQUE KEY `eventIdentifier` (`eventIdentifier`) -) ENGINE=InnoDB AUTO_INCREMENT=80 DEFAULT CHARSET=latin1; - -CREATE TABLE `batchDomainEventEntry` ( - `globalIndex` bigint(20) NOT NULL AUTO_INCREMENT, - `aggregateIdentifier` varchar(255) NOT NULL, - `sequenceNumber` bigint(20) NOT NULL, - `type` varchar(255) DEFAULT NULL, - `eventIdentifier` varchar(255) NOT NULL, - `metaData` blob, - `payload` blob NOT NULL, - `payloadRevision` varchar(255) DEFAULT NULL, - `payloadType` varchar(255) NOT NULL, - `timeStamp` varchar(255) NOT NULL, - PRIMARY KEY (`globalIndex`), - UNIQUE KEY `aggregateIdentifier` (`aggregateIdentifier`,`sequenceNumber`), - UNIQUE KEY `eventIdentifier` (`eventIdentifier`) -) ENGINE=InnoDB AUTO_INCREMENT=80 DEFAULT CHARSET=latin1; - -CREATE TABLE `companyDomainEventEntry` ( - `globalIndex` bigint(20) NOT NULL AUTO_INCREMENT, - `aggregateIdentifier` varchar(255) NOT NULL, - `sequenceNumber` bigint(20) NOT NULL, - `type` varchar(255) DEFAULT NULL, - `eventIdentifier` varchar(255) NOT NULL, - `metaData` blob, - `payload` blob NOT NULL, - `payloadRevision` varchar(255) DEFAULT NULL, - `payloadType` varchar(255) NOT NULL, - `timeStamp` varchar(255) NOT NULL, - PRIMARY KEY (`globalIndex`), - UNIQUE KEY `aggregateIdentifier` (`aggregateIdentifier`,`sequenceNumber`), - UNIQUE KEY `eventIdentifier` (`eventIdentifier`) -) ENGINE=InnoDB AUTO_INCREMENT=80 DEFAULT CHARSET=latin1; - -CREATE TABLE `emailDomainEventEntry` ( - `globalIndex` bigint(20) NOT NULL AUTO_INCREMENT, - `aggregateIdentifier` varchar(255) NOT NULL, - `sequenceNumber` bigint(20) NOT NULL, - `type` varchar(255) DEFAULT NULL, - `eventIdentifier` varchar(255) NOT NULL, - `metaData` blob, - `payload` blob NOT NULL, - `payloadRevision` varchar(255) DEFAULT NULL, - `payloadType` varchar(255) NOT NULL, - `timeStamp` varchar(255) NOT NULL, - PRIMARY KEY (`globalIndex`), - UNIQUE KEY `aggregateIdentifier` (`aggregateIdentifier`,`sequenceNumber`), - UNIQUE KEY `eventIdentifier` (`eventIdentifier`) -) ENGINE=InnoDB AUTO_INCREMENT=80 DEFAULT CHARSET=latin1; - -CREATE TABLE `kpiDomainEventEntry` ( - `globalIndex` bigint(20) NOT NULL AUTO_INCREMENT, - `aggregateIdentifier` varchar(255) NOT NULL, - `sequenceNumber` bigint(20) NOT NULL, - `type` varchar(255) DEFAULT NULL, - `eventIdentifier` varchar(255) NOT NULL, - `metaData` blob, - `payload` blob NOT NULL, - `payloadRevision` varchar(255) DEFAULT NULL, - `payloadType` varchar(255) NOT NULL, - `timeStamp` varchar(255) NOT NULL, - PRIMARY KEY (`globalIndex`), - UNIQUE KEY `aggregateIdentifier` (`aggregateIdentifier`,`sequenceNumber`), - UNIQUE KEY `eventIdentifier` (`eventIdentifier`) -) ENGINE=InnoDB AUTO_INCREMENT=80 DEFAULT CHARSET=latin1; - -CREATE TABLE `questionDomainEventEntry` ( - `globalIndex` bigint(20) NOT NULL AUTO_INCREMENT, - `aggregateIdentifier` varchar(255) NOT NULL, - `sequenceNumber` bigint(20) NOT NULL, - `type` varchar(255) DEFAULT NULL, - `eventIdentifier` varchar(255) NOT NULL, - `metaData` blob, - `payload` blob NOT NULL, - `payloadRevision` varchar(255) DEFAULT NULL, - `payloadType` varchar(255) NOT NULL, - `timeStamp` varchar(255) NOT NULL, - PRIMARY KEY (`globalIndex`), - UNIQUE KEY `aggregateIdentifier` (`aggregateIdentifier`,`sequenceNumber`), - UNIQUE KEY `eventIdentifier` (`eventIdentifier`) -) ENGINE=InnoDB AUTO_INCREMENT=80 DEFAULT CHARSET=latin1; - -CREATE TABLE `subscriptionDomainEventEntry` ( - `globalIndex` bigint(20) NOT NULL AUTO_INCREMENT, - `aggregateIdentifier` varchar(255) NOT NULL, - `sequenceNumber` bigint(20) NOT NULL, - `type` varchar(255) DEFAULT NULL, - `eventIdentifier` varchar(255) NOT NULL, - `metaData` blob, - `payload` blob NOT NULL, - `payloadRevision` varchar(255) DEFAULT NULL, - `payloadType` varchar(255) NOT NULL, - `timeStamp` varchar(255) NOT NULL, - PRIMARY KEY (`globalIndex`), - UNIQUE KEY `aggregateIdentifier` (`aggregateIdentifier`,`sequenceNumber`), - UNIQUE KEY `eventIdentifier` (`eventIdentifier`) -) ENGINE=InnoDB AUTO_INCREMENT=80 DEFAULT CHARSET=latin1; - -CREATE TABLE `userDomainEventEntry` ( - `globalIndex` bigint(20) NOT NULL AUTO_INCREMENT, - `aggregateIdentifier` varchar(255) NOT NULL, - `sequenceNumber` bigint(20) NOT NULL, - `type` varchar(255) DEFAULT NULL, - `eventIdentifier` varchar(255) NOT NULL, - `metaData` blob, - `payload` blob NOT NULL, - `payloadRevision` varchar(255) DEFAULT NULL, - `payloadType` varchar(255) NOT NULL, - `timeStamp` varchar(255) NOT NULL, - PRIMARY KEY (`globalIndex`), - UNIQUE KEY `aggregateIdentifier` (`aggregateIdentifier`,`sequenceNumber`), - UNIQUE KEY `eventIdentifier` (`eventIdentifier`) -) ENGINE=InnoDB AUTO_INCREMENT=80 DEFAULT CHARSET=latin1; \ No newline at end of file