-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8080a1e
commit ae279d4
Showing
4 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
src/fiskaltrust.AndroidLauncher.Common/Migrations/008_Indices.sqlite3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
CREATE INDEX IF NOT EXISTS idx_ftQueueItem_Timestamp ON ftQueueItem (TimeStamp); | ||
CREATE INDEX IF NOT EXISTS idx_ftQueueItem_cbReceiptReference ON ftQueueItem (cbReceiptReference); | ||
CREATE INDEX IF NOT EXISTS idx_ftActionJournal_Timestamp ON ftActionJournal (TimeStamp); | ||
CREATE INDEX IF NOT EXISTS idx_ftReceiptJournal_Timestamp ON ftReceiptJournal (TimeStamp); | ||
CREATE INDEX IF NOT EXISTS idx_ftJournalAT_Timestamp ON ftJournalAT (TimeStamp); | ||
CREATE INDEX IF NOT EXISTS idx_ftJournalDE_Timestamp ON ftJournalDE (TimeStamp); | ||
CREATE INDEX IF NOT EXISTS idx_ftJournalFR_Timestamp ON ftJournalFR (TimeStamp); |
43 changes: 43 additions & 0 deletions
43
src/fiskaltrust.AndroidLauncher.Common/Migrations/009_QueueME.sqlite3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
CREATE TABLE IF NOT EXISTS ftJournalME | ||
( | ||
ftJournalMEId NVARCHAR(36) PRIMARY KEY NOT NULL, | ||
Number BIGINT NOT NULL, | ||
cbReference NVARCHAR(2147483647) NULL, | ||
InvoiceNumber NVARCHAR(2147483647) NULL, | ||
YearlyOrdinalNumber BIGINT NOT NULL, | ||
ftQueueItemId NVARCHAR(36) NOT NULL, | ||
ftQueueId NVARCHAR(36) NOT NULL, | ||
FCDC NVARCHAR(36) NULL, | ||
FIC NVARCHAR(36) NULL, | ||
IIC NVARCHAR(36) NULL, | ||
JournalType BIGINT NOT NULL, | ||
TimeStamp BIGINT NOT NULL | ||
); | ||
CREATE TABLE IF NOT EXISTS ftQueueME | ||
( | ||
ftQueueMEId NVARCHAR(36) PRIMARY KEY NOT NULL, | ||
ftSignaturCreationUnitMEId NVARCHAR(36) NULL, | ||
LastHash NVARCHAR(2147483647) NULL, | ||
SSCDFailCount BIGINT NOT NULL, | ||
SSCDFailMoment BIGINT NULL, | ||
SSCDFailQueueItemId NVARCHAR(36) NULL, | ||
UsedFailedCount BIGINT NOT NULL, | ||
UsedFailedMomentMin BIGINT NULL, | ||
UsedFailedMomentMax BIGINT NULL, | ||
UsedFailedQueueItemId NVARCHAR(36) NULL, | ||
DailyClosingNumber BIGINT NULL | ||
); | ||
CREATE TABLE IF NOT EXISTS ftSignaturCreationUnitME | ||
( | ||
ftSignaturCreationUnitMEId NVARCHAR(36) PRIMARY KEY NOT NULL, | ||
Url NVARCHAR(2147483647) NULL, | ||
TimeStamp BIGINT NOT NULL, | ||
IssuerTin NVARCHAR(2147483647) NULL, | ||
BusinessUnitCode NVARCHAR(2147483647) NULL, | ||
TcrIntId NVARCHAR(2147483647) NULL, | ||
SoftwareCode NVARCHAR(2147483647) NULL, | ||
MaintainerCode NVARCHAR(2147483647) NULL, | ||
ValidFrom BIGINT NULL, | ||
ValidTo BIGINT NULL, | ||
TcrCode NVARCHAR(2147483647) NULL | ||
); |
2 changes: 2 additions & 0 deletions
2
src/fiskaltrust.AndroidLauncher.Common/Migrations/010_ExtendedMasterData.sqlite3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE PosSystemMasterData ADD Type NVARCHAR(2147483647) NULL; | ||
ALTER TABLE OutletMasterData ADD LocationId NVARCHAR(2147483647) NULL; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters