Nested Folders: Make parent_uid column nullable (#59035)

Nested Folders: Make parent UID column nullable
This commit is contained in:
Sofia Papagiannaki 2022-11-21 15:24:20 +01:00 committed by GitHub
parent bdfa127ee5
commit 15561b83e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ func folderv1() migrator.Table {
{Name: "org_id", Type: migrator.DB_BigInt, Nullable: false},
{Name: "title", Type: migrator.DB_NVarchar, Length: 255, Nullable: false},
{Name: "description", Type: migrator.DB_NVarchar, Length: 255, Nullable: true},
{Name: "parent_uid", Type: migrator.DB_NVarchar, Length: 40, Default: ""},
{Name: "parent_uid", Type: migrator.DB_NVarchar, Length: 40, Nullable: true},
{Name: "created", Type: migrator.DB_DateTime, Nullable: false},
{Name: "updated", Type: migrator.DB_DateTime, Nullable: false},
},