lets try this #23
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user