Skip to content

Commit c85e76e

Browse files
committed
fix: AuthorDN is by default NULL
1 parent aa0d1c3 commit c85e76e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/DIRAC/ProductionSystem/DB/ProductionDB.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ CREATE TABLE Productions(
2626
CreationDate DATETIME,
2727
LastUpdate DATETIME,
2828
Author VARCHAR(255) NOT NULL,
29-
AuthorDN VARCHAR(255),
29+
AuthorDN VARCHAR(255) DEFAULT NULL,
3030
AuthorGroup VARCHAR(255) NOT NULL,
3131
Status CHAR(32) DEFAULT 'New',
3232
PRIMARY KEY(ProductionID),

src/DIRAC/TransformationSystem/DB/TransformationDB.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ CREATE TABLE Transformations(
2929
CreationDate DATETIME,
3030
LastUpdate DATETIME,
3131
Author VARCHAR(255) NOT NULL,
32-
AuthorDN VARCHAR(255),
32+
AuthorDN VARCHAR(255) DEFAULT NULL,
3333
AuthorGroup VARCHAR(255) NOT NULL,
3434
Type CHAR(32) DEFAULT 'Simulation',
3535
Plugin CHAR(32) DEFAULT 'None',

0 commit comments

Comments
 (0)