-
Notifications
You must be signed in to change notification settings - Fork 146
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
61dce49
commit d671f22
Showing
58 changed files
with
1,906 additions
and
1,897 deletions.
There are no files selected for viewing
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
12 changes: 6 additions & 6 deletions
12
...ary/SetupTv/39_upgrade_mysql_database.sql → ...SetupTv/SQL/39_upgrade_mysql_database.sql
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
USE %TvLibrary%; | ||
|
||
ALTER TABLE "Card" | ||
ADD COLUMN "preload" bit(1) NOT NULL; | ||
|
||
UPDATE "Version" SET "versionNumber"=39; | ||
USE %TvLibrary%; | ||
|
||
ALTER TABLE "Card" | ||
ADD COLUMN "preload" bit(1) NOT NULL; | ||
|
||
UPDATE "Version" SET "versionNumber"=39; |
18 changes: 9 additions & 9 deletions
18
...SetupTv/39_upgrade_sqlserver_database.sql → ...pTv/SQL/39_upgrade_sqlserver_database.sql
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
use %TvLibrary% | ||
GO | ||
|
||
ALTER TABLE Card | ||
ADD preload bit NOT NULL CONSTRAINT DF_Card_preload DEFAULT ((0)) | ||
GO | ||
|
||
UPDATE Version SET versionNumber=39 | ||
GO | ||
use %TvLibrary% | ||
GO | ||
|
||
ALTER TABLE Card | ||
ADD preload bit NOT NULL CONSTRAINT DF_Card_preload DEFAULT ((0)) | ||
GO | ||
|
||
UPDATE Version SET versionNumber=39 | ||
GO |
12 changes: 6 additions & 6 deletions
12
...ary/SetupTv/40_upgrade_mysql_database.sql → ...SetupTv/SQL/40_upgrade_mysql_database.sql
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
USE %TvLibrary%; | ||
|
||
ALTER TABLE "Card" | ||
ADD COLUMN "CAM" bit(1) NOT NULL; | ||
|
||
UPDATE "Version" SET "versionNumber"=40; | ||
USE %TvLibrary%; | ||
|
||
ALTER TABLE "Card" | ||
ADD COLUMN "CAM" bit(1) NOT NULL; | ||
|
||
UPDATE "Version" SET "versionNumber"=40; |
18 changes: 9 additions & 9 deletions
18
...SetupTv/40_upgrade_sqlserver_database.sql → ...pTv/SQL/40_upgrade_sqlserver_database.sql
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
use %TvLibrary% | ||
GO | ||
|
||
ALTER TABLE Card | ||
ADD CAM bit NOT NULL CONSTRAINT DF_Card_CAM DEFAULT ((0)) | ||
GO | ||
|
||
UPDATE Version SET versionNumber=40 | ||
GO | ||
use %TvLibrary% | ||
GO | ||
|
||
ALTER TABLE Card | ||
ADD CAM bit NOT NULL CONSTRAINT DF_Card_CAM DEFAULT ((0)) | ||
GO | ||
|
||
UPDATE Version SET versionNumber=40 | ||
GO |
12 changes: 6 additions & 6 deletions
12
...ary/SetupTv/41_upgrade_mysql_database.sql → ...SetupTv/SQL/41_upgrade_mysql_database.sql
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
USE %TvLibrary%; | ||
|
||
ALTER TABLE "TuningDetail" | ||
ADD COLUMN "audioSource" int(1) NOT NULL; | ||
|
||
UPDATE "Version" SET "versionNumber"=41; | ||
USE %TvLibrary%; | ||
|
||
ALTER TABLE "TuningDetail" | ||
ADD COLUMN "audioSource" int(1) NOT NULL; | ||
|
||
UPDATE "Version" SET "versionNumber"=41; |
18 changes: 9 additions & 9 deletions
18
...SetupTv/41_upgrade_sqlserver_database.sql → ...pTv/SQL/41_upgrade_sqlserver_database.sql
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
use %TvLibrary% | ||
GO | ||
|
||
ALTER TABLE TuningDetail | ||
ADD audioSource int NOT NULL CONSTRAINT DF_TuningDetail_audioSource DEFAULT ((1)) | ||
GO | ||
|
||
UPDATE Version SET versionNumber=41 | ||
GO | ||
use %TvLibrary% | ||
GO | ||
|
||
ALTER TABLE TuningDetail | ||
ADD audioSource int NOT NULL CONSTRAINT DF_TuningDetail_audioSource DEFAULT ((1)) | ||
GO | ||
|
||
UPDATE Version SET versionNumber=41 | ||
GO |
12 changes: 6 additions & 6 deletions
12
...ary/SetupTv/42_upgrade_mysql_database.sql → ...SetupTv/SQL/42_upgrade_mysql_database.sql
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
USE %TvLibrary%; | ||
|
||
ALTER TABLE "TuningDetail" | ||
ADD COLUMN "isVCRSignal" bit(1) NOT NULL; | ||
|
||
UPDATE "Version" SET "versionNumber"=42; | ||
USE %TvLibrary%; | ||
|
||
ALTER TABLE "TuningDetail" | ||
ADD COLUMN "isVCRSignal" bit(1) NOT NULL; | ||
|
||
UPDATE "Version" SET "versionNumber"=42; |
18 changes: 9 additions & 9 deletions
18
...SetupTv/42_upgrade_sqlserver_database.sql → ...pTv/SQL/42_upgrade_sqlserver_database.sql
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
use %TvLibrary% | ||
GO | ||
|
||
ALTER TABLE TuningDetail | ||
ADD isVCRSignal bit NOT NULL CONSTRAINT DF_TuningDetail_isVCRSignal DEFAULT ((0)) | ||
GO | ||
|
||
UPDATE Version SET versionNumber=42 | ||
GO | ||
use %TvLibrary% | ||
GO | ||
|
||
ALTER TABLE TuningDetail | ||
ADD isVCRSignal bit NOT NULL CONSTRAINT DF_TuningDetail_isVCRSignal DEFAULT ((0)) | ||
GO | ||
|
||
UPDATE Version SET versionNumber=42 | ||
GO |
10 changes: 5 additions & 5 deletions
10
...ary/SetupTv/43_upgrade_mysql_database.sql → ...SetupTv/SQL/43_upgrade_mysql_database.sql
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
USE %TvLibrary%; | ||
|
||
ALTER TABLE "Schedule" | ||
ADD COLUMN "series" bit(1) NOT NULL; | ||
|
||
USE %TvLibrary%; | ||
|
||
ALTER TABLE "Schedule" | ||
ADD COLUMN "series" bit(1) NOT NULL; | ||
|
||
UPDATE "Version" SET "versionNumber"=43; |
18 changes: 9 additions & 9 deletions
18
...SetupTv/43_upgrade_sqlserver_database.sql → ...pTv/SQL/43_upgrade_sqlserver_database.sql
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
use %TvLibrary% | ||
GO | ||
|
||
ALTER TABLE Schedule | ||
ADD series bit NOT NULL CONSTRAINT DF_Schedule_series DEFAULT ((0)) | ||
GO | ||
|
||
UPDATE Version SET versionNumber=43 | ||
GO | ||
use %TvLibrary% | ||
GO | ||
|
||
ALTER TABLE Schedule | ||
ADD series bit NOT NULL CONSTRAINT DF_Schedule_series DEFAULT ((0)) | ||
GO | ||
|
||
UPDATE Version SET versionNumber=43 | ||
GO |
12 changes: 6 additions & 6 deletions
12
...ary/SetupTv/44_upgrade_mysql_database.sql → ...SetupTv/SQL/44_upgrade_mysql_database.sql
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
USE %TvLibrary%; | ||
|
||
ALTER TABLE "Program" | ||
ADD COLUMN "episodeName" text NOT NULL, | ||
ADD COLUMN "episodePart" text NOT NULL; | ||
|
||
USE %TvLibrary%; | ||
|
||
ALTER TABLE "Program" | ||
ADD COLUMN "episodeName" text NOT NULL, | ||
ADD COLUMN "episodePart" text NOT NULL; | ||
|
||
UPDATE "Version" SET "versionNumber"=44; |
20 changes: 10 additions & 10 deletions
20
...SetupTv/44_upgrade_sqlserver_database.sql → ...pTv/SQL/44_upgrade_sqlserver_database.sql
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
use %TvLibrary% | ||
GO | ||
|
||
ALTER TABLE Program | ||
ADD episodeName varchar(MAX) NOT NULL CONSTRAINT [DF_Program_EpisodeName] DEFAULT '', | ||
episodePart varchar(MAX) NOT NULL CONSTRAINT [DF_Program_EpisodePart] DEFAULT '' | ||
GO | ||
|
||
UPDATE Version SET versionNumber=44 | ||
GO | ||
use %TvLibrary% | ||
GO | ||
|
||
ALTER TABLE Program | ||
ADD episodeName varchar(MAX) NOT NULL CONSTRAINT [DF_Program_EpisodeName] DEFAULT '', | ||
episodePart varchar(MAX) NOT NULL CONSTRAINT [DF_Program_EpisodePart] DEFAULT '' | ||
GO | ||
|
||
UPDATE Version SET versionNumber=44 | ||
GO |
18 changes: 9 additions & 9 deletions
18
...ary/SetupTv/45_upgrade_mysql_database.sql → ...SetupTv/SQL/45_upgrade_mysql_database.sql
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
USE %TvLibrary%; | ||
|
||
ALTER TABLE "Recording" | ||
MODIFY COLUMN "fileName" VARCHAR(255) NOT NULL, | ||
ADD INDEX "IDX_Recording_Filename"("fileName"); | ||
|
||
ALTER TABLE "Program" | ||
ADD INDEX "IDX_Program_Notify"("notify"); | ||
|
||
USE %TvLibrary%; | ||
|
||
ALTER TABLE "Recording" | ||
MODIFY COLUMN "fileName" VARCHAR(255) NOT NULL, | ||
ADD INDEX "IDX_Recording_Filename"("fileName"); | ||
|
||
ALTER TABLE "Program" | ||
ADD INDEX "IDX_Program_Notify"("notify"); | ||
|
||
UPDATE "Version" SET "versionNumber"=45; |
28 changes: 14 additions & 14 deletions
28
...SetupTv/45_upgrade_sqlserver_database.sql → ...pTv/SQL/45_upgrade_sqlserver_database.sql
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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
use %TvLibrary% | ||
GO | ||
|
||
ALTER TABLE Recording | ||
ALTER COLUMN fileName VARCHAR(260) NOT NULL | ||
GO | ||
|
||
CREATE INDEX IDX_Recording_Filename ON Recording(fileName) | ||
GO | ||
CREATE INDEX IDX_Program_Notify ON Program(notify) | ||
GO | ||
|
||
UPDATE Version SET versionNumber=45 | ||
GO | ||
use %TvLibrary% | ||
GO | ||
|
||
ALTER TABLE Recording | ||
ALTER COLUMN fileName VARCHAR(260) NOT NULL | ||
GO | ||
|
||
CREATE INDEX IDX_Recording_Filename ON Recording(fileName) | ||
GO | ||
CREATE INDEX IDX_Program_Notify ON Program(notify) | ||
GO | ||
|
||
UPDATE Version SET versionNumber=45 | ||
GO |
10 changes: 5 additions & 5 deletions
10
...ary/SetupTv/46_upgrade_mysql_database.sql → ...SetupTv/SQL/46_upgrade_mysql_database.sql
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
USE %TvLibrary%; | ||
|
||
ALTER TABLE "Recording" | ||
ADD COLUMN "episodeName" text NOT NULL; | ||
|
||
USE %TvLibrary%; | ||
|
||
ALTER TABLE "Recording" | ||
ADD COLUMN "episodeName" text NOT NULL; | ||
|
||
UPDATE "Version" SET "versionNumber"=46; |
16 changes: 8 additions & 8 deletions
16
...SetupTv/46_upgrade_sqlserver_database.sql → ...pTv/SQL/46_upgrade_sqlserver_database.sql
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
use %TvLibrary% | ||
GO | ||
|
||
ALTER TABLE Recording | ||
ADD episodeName varchar(MAX) NOT NULL CONSTRAINT [DF_Recording_EpisodeName] DEFAULT '' | ||
|
||
UPDATE Version SET versionNumber=46 | ||
GO | ||
use %TvLibrary% | ||
GO | ||
|
||
ALTER TABLE Recording | ||
ADD episodeName varchar(MAX) NOT NULL CONSTRAINT [DF_Recording_EpisodeName] DEFAULT '' | ||
|
||
UPDATE Version SET versionNumber=46 | ||
GO |
16 changes: 8 additions & 8 deletions
16
...ary/SetupTv/47_upgrade_mysql_database.sql → ...SetupTv/SQL/47_upgrade_mysql_database.sql
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
USE %TvLibrary%; | ||
|
||
ALTER TABLE "Recording" | ||
ADD COLUMN "seriesNum" VARCHAR(200) NOT NULL, | ||
ADD COLUMN "episodeNum" VARCHAR(200) NOT NULL, | ||
ADD COLUMN "episodePart" TEXT NOT NULL; | ||
|
||
UPDATE "Version" SET "versionNumber"=47; | ||
USE %TvLibrary%; | ||
|
||
ALTER TABLE "Recording" | ||
ADD COLUMN "seriesNum" VARCHAR(200) NOT NULL, | ||
ADD COLUMN "episodeNum" VARCHAR(200) NOT NULL, | ||
ADD COLUMN "episodePart" TEXT NOT NULL; | ||
|
||
UPDATE "Version" SET "versionNumber"=47; |
20 changes: 10 additions & 10 deletions
20
...SetupTv/47_upgrade_sqlserver_database.sql → ...pTv/SQL/47_upgrade_sqlserver_database.sql
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
use %TvLibrary% | ||
GO | ||
|
||
ALTER TABLE Recording | ||
ADD seriesNum varchar(200) NOT NULL CONSTRAINT [DF_Recording_SeriesNum] DEFAULT '', | ||
episodeNum varchar(200) NOT NULL CONSTRAINT [DF_Recording_EpisodeNum] DEFAULT '', | ||
episodePart varchar(MAX) NOT NULL CONSTRAINT [DF_Recording_EpisodePart] DEFAULT '' | ||
|
||
UPDATE Version SET versionNumber=47 | ||
GO | ||
use %TvLibrary% | ||
GO | ||
|
||
ALTER TABLE Recording | ||
ADD seriesNum varchar(200) NOT NULL CONSTRAINT [DF_Recording_SeriesNum] DEFAULT '', | ||
episodeNum varchar(200) NOT NULL CONSTRAINT [DF_Recording_EpisodeNum] DEFAULT '', | ||
episodePart varchar(MAX) NOT NULL CONSTRAINT [DF_Recording_EpisodePart] DEFAULT '' | ||
|
||
UPDATE Version SET versionNumber=47 | ||
GO |
12 changes: 6 additions & 6 deletions
12
...ary/SetupTv/48_upgrade_mysql_database.sql → ...SetupTv/SQL/48_upgrade_mysql_database.sql
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
USE %TvLibrary%; | ||
|
||
ALTER TABLE "Server" | ||
ADD COLUMN "rtspPort" INT NOT NULL DEFAULT 554; | ||
|
||
UPDATE "Version" SET "versionNumber"=48; | ||
USE %TvLibrary%; | ||
|
||
ALTER TABLE "Server" | ||
ADD COLUMN "rtspPort" INT NOT NULL DEFAULT 554; | ||
|
||
UPDATE "Version" SET "versionNumber"=48; |
16 changes: 8 additions & 8 deletions
16
...SetupTv/48_upgrade_sqlserver_database.sql → ...pTv/SQL/48_upgrade_sqlserver_database.sql
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
use %TvLibrary% | ||
GO | ||
|
||
ALTER TABLE Server | ||
ADD rtspPort int NOT NULL CONSTRAINT [DF_Server_RtspPort] DEFAULT 554 | ||
|
||
UPDATE Version SET versionNumber=48 | ||
GO | ||
use %TvLibrary% | ||
GO | ||
|
||
ALTER TABLE Server | ||
ADD rtspPort int NOT NULL CONSTRAINT [DF_Server_RtspPort] DEFAULT 554 | ||
|
||
UPDATE Version SET versionNumber=48 | ||
GO |
26 changes: 13 additions & 13 deletions
26
...ary/SetupTv/49_upgrade_mysql_database.sql → ...SetupTv/SQL/49_upgrade_mysql_database.sql
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
USE %TvLibrary%; | ||
|
||
ALTER TABLE "Recording" ADD COLUMN "isRecording" BIT NOT NULL DEFAULT 0; | ||
ALTER TABLE "Recording" ADD COLUMN "idSchedule" INT NOT NULL DEFAULT 0; | ||
|
||
ALTER TABLE "Program" ADD COLUMN "state" INT NOT NULL DEFAULT 0; | ||
UPDATE "Program" SET state=1 WHERE notify=1; | ||
ALTER TABLE "Program" DROP COLUMN "notify"; | ||
ALTER TABLE "Program" ADD INDEX IDX_Program_State(state); | ||
|
||
ALTER TABLE "Schedule" ADD COLUMN "idParentSchedule" INT NOT NULL DEFAULT 0; | ||
|
||
UPDATE Version SET versionNumber=49; | ||
USE %TvLibrary%; | ||
|
||
ALTER TABLE "Recording" ADD COLUMN "isRecording" BIT NOT NULL DEFAULT 0; | ||
ALTER TABLE "Recording" ADD COLUMN "idSchedule" INT NOT NULL DEFAULT 0; | ||
|
||
ALTER TABLE "Program" ADD COLUMN "state" INT NOT NULL DEFAULT 0; | ||
UPDATE "Program" SET state=1 WHERE notify=1; | ||
ALTER TABLE "Program" DROP COLUMN "notify"; | ||
ALTER TABLE "Program" ADD INDEX IDX_Program_State(state); | ||
|
||
ALTER TABLE "Schedule" ADD COLUMN "idParentSchedule" INT NOT NULL DEFAULT 0; | ||
|
||
UPDATE Version SET versionNumber=49; |
Oops, something went wrong.