You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: repository-postgresql/src/main/java/org/lfenergy/compas/scl/data/repository/postgres/CompasSclDataPostgreSQLRepository.java
Copy file name to clipboardExpand all lines: repository-postgresql/src/main/resources/org/lfenergy/compas/scl/data/repository/postgres/db/migration/V1_0__create_scl_file.sql
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,9 @@
9
9
--
10
10
createtablescl_file (
11
11
id uuid not null,
12
-
version varchar(20) not null,
12
+
major_version smallintnot null,
13
+
minor_version smallintnot null,
14
+
patch_version smallintnot null,
13
15
type varchar(3) not null,
14
16
name varchar(255) not null,
15
17
scl_data textnot null,
@@ -20,7 +22,9 @@ create index scl_file_type on scl_file(type);
20
22
21
23
comment on table scl_file is 'Table holding all the SCL Data. The combination id and version are unique (pk).';
22
24
comment on column scl_file.id is 'Unique ID generated according to standards';
23
-
comment on column scl_file.version is 'Versioning according to Semantic Versioning';
25
+
comment on column scl_file.major_version is 'Versioning according to Semantic Versioning (Major Position)';
26
+
comment on column scl_file.minor_version is 'Versioning according to Semantic Versioning (Minor Position)';
27
+
comment on column scl_file.patch_version is 'Versioning according to Semantic Versioning (Patch Position)';
24
28
comment on column scl_file.type is 'The type of SCL stored';
25
29
comment on column scl_file.name is 'The name of the SCL File';
26
30
comment on column scl_file.scl_data is ' The SCL XML Content';
0 commit comments