Changeset d2e69be for FarmatikoData/Migrations
- Timestamp:
- 07/27/20 17:10:07 (4 years ago)
- Branches:
- master
- Children:
- ef1219a
- Parents:
- 4b342bb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
FarmatikoData/Migrations/20200722131856_Initial migration.cs
r4b342bb rd2e69be 15 15 Id = table.Column<int>(nullable: false) 16 16 .Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn), 17 CreatedOn = table.Column<DateTime>(nullable: false ),18 DeletedOn = table.Column<DateTime>(nullable: false),17 CreatedOn = table.Column<DateTime>(nullable: false, defaultValueSql: "now()"), 18 DeletedOn = table.Column<DateTime>(nullable: true), 19 19 Name = table.Column<string>(nullable: false), 20 20 Municipality = table.Column<string>(nullable: false), … … 35 35 Id = table.Column<int>(nullable: false) 36 36 .Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn), 37 CreatedOn = table.Column<DateTime>(nullable: false ),38 DeletedOn = table.Column<DateTime>(nullable: false),37 CreatedOn = table.Column<DateTime>(nullable: false, defaultValueSql: "now()"), 38 DeletedOn = table.Column<DateTime>(nullable: true), 39 39 Name = table.Column<string>(nullable: true), 40 40 TotalMK = table.Column<int>(nullable: false), … … 57 57 Id = table.Column<int>(nullable: false) 58 58 .Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn), 59 CreatedOn = table.Column<DateTime>(nullable: false ),60 DeletedOn = table.Column<DateTime>(nullable: false),59 CreatedOn = table.Column<DateTime>(nullable: false, defaultValueSql: "now()"), 60 DeletedOn = table.Column<DateTime>(nullable: true), 61 61 Name = table.Column<string>(nullable: false), 62 62 Branch = table.Column<string>(nullable: false), … … 81 81 Id = table.Column<int>(nullable: false) 82 82 .Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn), 83 CreatedOn = table.Column<DateTime>(nullable: false ),84 DeletedOn = table.Column<DateTime>(nullable: false),83 CreatedOn = table.Column<DateTime>(nullable: false, defaultValueSql: "now()"), 84 DeletedOn = table.Column<DateTime>(nullable: true), 85 85 Name = table.Column<string>(nullable: true), 86 86 Strength = table.Column<string>(nullable: true), … … 103 103 Id = table.Column<int>(nullable: false) 104 104 .Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn), 105 CreatedOn = table.Column<DateTime>(nullable: false ),106 DeletedOn = table.Column<DateTime>(nullable: false),105 CreatedOn = table.Column<DateTime>(nullable: false, defaultValueSql: "now()"), 106 DeletedOn = table.Column<DateTime>(nullable: true), 107 107 PharmacyMedicinesId = table.Column<int>(nullable: true), 108 108 PharmacyId = table.Column<int>(nullable: true), … … 122 122 Id = table.Column<int>(nullable: false) 123 123 .Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn), 124 CreatedOn = table.Column<DateTime>(nullable: false ),125 DeletedOn = table.Column<DateTime>(nullable: false),124 CreatedOn = table.Column<DateTime>(nullable: false, defaultValueSql: "now()"), 125 DeletedOn = table.Column<DateTime>(nullable: true), 126 126 MedicinesId = table.Column<int>(nullable: true), 127 127 HasMedicine = table.Column<bool>(nullable: false), … … 151 151 Id = table.Column<int>(nullable: false) 152 152 .Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn), 153 CreatedOn = table.Column<DateTime>(nullable: false ),154 DeletedOn = table.Column<DateTime>(nullable: false),153 CreatedOn = table.Column<DateTime>(nullable: false, defaultValueSql: "now()"), 154 DeletedOn = table.Column<DateTime>(nullable: true), 155 155 Name = table.Column<string>(nullable: true), 156 156 Location = table.Column<string>(nullable: true),
Note:
See TracChangeset
for help on using the changeset viewer.