lets try this #23

Merged
defnotken merged 1 commits from sql-thing into master 2025-10-21 21:26:15 +00:00
Showing only changes of commit b7f7381dec - Show all commits

View File

@@ -16,7 +16,9 @@ namespace LightlessSyncServer.Migrations
type: "integer[]", type: "integer[]",
nullable: true); nullable: true);
migrationBuilder.Sql("UPDATE group_profiles SET tags = NULL;"); migrationBuilder.Sql(
"ALTER TABLE group_profiles ALTER COLUMN tags TYPE integer[] USING string_to_array(tags, ',')::integer[];"
);
migrationBuilder.AlterColumn<int[]>( migrationBuilder.AlterColumn<int[]>(
name: "tags", name: "tags",