fix issues with phase-32
This commit is contained in:
@@ -43,13 +43,8 @@ namespace VigilCareClinicalAPI.Migrations
|
||||
name: "name_search_token",
|
||||
table: "patients");
|
||||
|
||||
migrationBuilder.AlterColumn<DateOnly>(
|
||||
name: "date_of_birth",
|
||||
table: "patients",
|
||||
type: "date",
|
||||
nullable: false,
|
||||
oldClrType: typeof(string),
|
||||
oldType: "text");
|
||||
migrationBuilder.Sql(
|
||||
"ALTER TABLE patients ALTER COLUMN date_of_birth TYPE date USING date_of_birth::date;");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user