Skip to content

Commit 8d29b4f

Browse files
committed
fix: add missing formats to sql schema
1 parent 6d74aa3 commit 8d29b4f

File tree

5 files changed

+25
-1
lines changed

5 files changed

+25
-1
lines changed

src/Common/Version.h.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99

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

12-
#define DATABASE_VERSION "216"
12+
#define DATABASE_VERSION "217"

src/Core/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ set(Core_resource_files
189189
"Sql/ChangeScript-214.sql"
190190
"Sql/ChangeScript-215.sql"
191191
"Sql/ChangeScript-216.sql"
192+
"Sql/ChangeScript-217.sql"
192193
"Sql/Schema.sql"
193194
)
194195

src/Core/Core.qrc

+1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@
1010
<file>Sql/ChangeScript-214.sql</file>
1111
<file>Sql/ChangeScript-215.sql</file>
1212
<file>Sql/ChangeScript-216.sql</file>
13+
<file>Sql/ChangeScript-217.sql</file>
1314
</qresource>
1415
</RCC>

src/Core/Sql/ChangeScript-217.sql

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('2160p5000', 3840, 2160, '50');
2+
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('2160p5994', 3840, 2160, '59.94');
3+
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('2160p6000', 3840, 2160, '60');
4+
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp2398', 4096, 2160, '23.98');
5+
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp2400', 4096, 2160, '24');
6+
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp2500', 4096, 2160, '25');
7+
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp2997', 4096, 2160, '29.97');
8+
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp3000', 4096, 2160, '30');
9+
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp5000', 4096, 2160, '50');
10+
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp5994', 4096, 2160, '59.94');
11+
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp6000', 4096, 2160, '60');

src/Core/Sql/Schema.sql

+11
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,23 @@ INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('2160p2400', 38
139139
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('2160p2500', 3840, 2160, '25');
140140
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('2160p2997', 3840, 2160, '29.97');
141141
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('2160p3000', 3840, 2160, '30');
142+
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('2160p5000', 3840, 2160, '50');
143+
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('2160p5994', 3840, 2160, '59.94');
144+
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('2160p6000', 3840, 2160, '60');
142145
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('dci1080p2398', 2048, 1080, '23.98');
143146
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('dci1080p2400', 2048, 1080, '24');
144147
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('dci1080p2500', 2048, 1080, '25');
145148
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('dci2160p2398', 4096, 2160, '23.98');
146149
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('dci2160p2400', 4096, 2160, '24');
147150
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('dci2160p2500', 4096, 2160, '25');
151+
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp2398', 4096, 2160, '23.98');
152+
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp2400', 4096, 2160, '24');
153+
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp2500', 4096, 2160, '25');
154+
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp2997', 4096, 2160, '29.97');
155+
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp3000', 4096, 2160, '30');
156+
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp5000', 4096, 2160, '50');
157+
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp5994', 4096, 2160, '59.94');
158+
INSERT INTO Format (Name, Width, Height, FramesPerSecond) VALUES('4kDCIp6000', 4096, 2160, '60');
148159

149160
INSERT INTO GpiPort (RisingEdge, Action) VALUES(1, 'Stop');
150161
INSERT INTO GpiPort (RisingEdge, Action) VALUES(1, 'Play');

0 commit comments

Comments
 (0)