Skip to content

Commit

Permalink
fix: add missing formats to sql schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Mar 6, 2024
1 parent 6d74aa3 commit 8d29b4f
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Common/Version.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@

#define RC_VERSION "${CONFIG_VERSION_MAJOR}.${CONFIG_VERSION_MINOR}.${CONFIG_VERSION_BUG} ${GIT_VERSION}"

#define DATABASE_VERSION "216"
#define DATABASE_VERSION "217"
1 change: 1 addition & 0 deletions src/Core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ set(Core_resource_files
"Sql/ChangeScript-214.sql"
"Sql/ChangeScript-215.sql"
"Sql/ChangeScript-216.sql"
"Sql/ChangeScript-217.sql"
"Sql/Schema.sql"
)

Expand Down
1 change: 1 addition & 0 deletions src/Core/Core.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
<file>Sql/ChangeScript-214.sql</file>
<file>Sql/ChangeScript-215.sql</file>
<file>Sql/ChangeScript-216.sql</file>
<file>Sql/ChangeScript-217.sql</file>
</qresource>
</RCC>
11 changes: 11 additions & 0 deletions src/Core/Sql/ChangeScript-217.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('2160p5000', 3840, 2160, '50');
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('2160p5994', 3840, 2160, '59.94');
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('2160p6000', 3840, 2160, '60');
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp2398', 4096, 2160, '23.98');
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp2400', 4096, 2160, '24');
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp2500', 4096, 2160, '25');
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp2997', 4096, 2160, '29.97');
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp3000', 4096, 2160, '30');
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp5000', 4096, 2160, '50');
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp5994', 4096, 2160, '59.94');
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp6000', 4096, 2160, '60');
11 changes: 11 additions & 0 deletions src/Core/Sql/Schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,23 @@ INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('2160p2400', 38
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('2160p2500', 3840, 2160, '25');
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('2160p2997', 3840, 2160, '29.97');
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('2160p3000', 3840, 2160, '30');
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('2160p5000', 3840, 2160, '50');
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('2160p5994', 3840, 2160, '59.94');
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('2160p6000', 3840, 2160, '60');
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('dci1080p2398', 2048, 1080, '23.98');
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('dci1080p2400', 2048, 1080, '24');
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('dci1080p2500', 2048, 1080, '25');
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('dci2160p2398', 4096, 2160, '23.98');
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('dci2160p2400', 4096, 2160, '24');
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('dci2160p2500', 4096, 2160, '25');
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp2398', 4096, 2160, '23.98');
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp2400', 4096, 2160, '24');
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp2500', 4096, 2160, '25');
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp2997', 4096, 2160, '29.97');
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp3000', 4096, 2160, '30');
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp5000', 4096, 2160, '50');
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp5994', 4096, 2160, '59.94');
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp6000', 4096, 2160, '60');

INSERT INTO GpiPort (RisingEdge, Action) VALUES(1, 'Stop');
INSERT INTO GpiPort (RisingEdge, Action) VALUES(1, 'Play');
Expand Down

0 comments on commit 8d29b4f

Please sign in to comment.