Changeset 2d64b2e for iknow-api/Migrations
- Timestamp:
- 12/09/25 14:54:20 (10 months ago)
- Branches:
- master
- Children:
- 33c69d6, 691f152
- Parents:
- 22439d3
- Location:
- iknow-api/Migrations
- Files:
-
- 1 edited
- 2 moved
-
20251209133847_InitalCreate.Designer.cs (moved) (moved from iknow-api/Migrations/20251209115716_InitialCreate.Designer.cs ) (8 diffs)
-
20251209133847_InitalCreate.cs (moved) (moved from iknow-api/Migrations/20251209115716_InitialCreate.cs ) (7 diffs)
-
AppDbContextModelSnapshot.cs (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
iknow-api/Migrations/20251209133847_InitalCreate.Designer.cs
r22439d3 r2d64b2e 13 13 { 14 14 [DbContext(typeof(AppDbContext))] 15 [Migration("202512091 15716_InitialCreate")]16 partial class Init ialCreate15 [Migration("20251209133847_InitalCreate")] 16 partial class InitalCreate 17 17 { 18 18 /// <inheritdoc /> … … 34 34 NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id")); 35 35 36 b.Property< int>("UserId")37 .HasColumnType(" integer");38 39 b.Property<string>(" address")40 .HasColumnType("text"); 41 42 b.Property<string>(" city")43 .HasColumnType("text"); 44 45 b.Property<string>(" microsoftEmail")46 .HasColumnType("text"); 47 48 b.Property<string>(" municipality")49 .HasColumnType("text"); 50 51 b.Property< string>("phoneNumber")52 .HasColumnType(" text");36 b.Property<string>("Address") 37 .HasColumnType("text"); 38 39 b.Property<string>("City") 40 .HasColumnType("text"); 41 42 b.Property<string>("MicrosoftEmail") 43 .HasColumnType("text"); 44 45 b.Property<string>("Municipality") 46 .HasColumnType("text"); 47 48 b.Property<string>("PhoneNumber") 49 .HasColumnType("text"); 50 51 b.Property<int>("UserId") 52 .HasColumnType("integer"); 53 53 54 54 b.HasKey("Id"); … … 83 83 NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id")); 84 84 85 b.Property<string>(" body")86 .HasColumnType("text"); 87 88 b.Property<int>(" cost")89 .HasColumnType("integer"); 90 91 b.Property<string>(" name")85 b.Property<string>("Body") 86 .HasColumnType("text"); 87 88 b.Property<int>("Cost") 89 .HasColumnType("integer"); 90 91 b.Property<string>("Name") 92 92 .HasColumnType("text"); 93 93 … … 139 139 b.Property<int>("MajorId") 140 140 .HasColumnType("integer"); 141 142 b.Property<string>("StudyStatus") 143 .HasColumnType("text"); 144 145 b.Property<string>("StudyType") 146 .HasColumnType("text"); 141 147 142 148 b.Property<int>("UserId") … … 170 176 .HasColumnType("real"); 171 177 172 b.Property<int>("UserId") 173 .HasColumnType("integer"); 174 175 b.Property<int>("tip") 178 b.Property<int>("HighSchoolType") 179 .HasColumnType("integer"); 180 181 b.Property<string>("StudyLanguage") 182 .HasColumnType("text"); 183 184 b.Property<int>("UserId") 176 185 .HasColumnType("integer"); 177 186 … … 230 239 .HasColumnType("integer"); 231 240 232 b.Property<int>("A kreditacija")241 b.Property<int>("Accreditation") 233 242 .HasColumnType("integer"); 234 243 … … 382 391 .HasColumnType("timestamp with time zone"); 383 392 393 b.Property<string>("Citizenship") 394 .HasColumnType("text"); 395 384 396 b.Property<DateTime>("CreatedAt") 385 397 .HasColumnType("timestamp with time zone"); … … 391 403 .HasColumnType("text"); 392 404 405 b.Property<string>("Gender") 406 .HasColumnType("text"); 407 393 408 b.Property<string>("Index") 394 409 .HasColumnType("text"); 395 410 411 b.Property<string>("MiddleName") 412 .HasColumnType("text"); 413 396 414 b.Property<string>("Name") 415 .HasColumnType("text"); 416 417 b.Property<string>("Nationality") 397 418 .HasColumnType("text"); 398 419 -
iknow-api/Migrations/20251209133847_InitalCreate.cs
r22439d3 r2d64b2e 10 10 { 11 11 /// <inheritdoc /> 12 public partial class Init ialCreate : Migration12 public partial class InitalCreate : Migration 13 13 { 14 14 /// <inheritdoc /> … … 21 21 Id = table.Column<int>(type: "integer", nullable: false) 22 22 .Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn), 23 name = table.Column<string>(type: "text", nullable: true),24 body = table.Column<string>(type: "text", nullable: true),25 cost = table.Column<int>(type: "integer", nullable: false)23 Name = table.Column<string>(type: "text", nullable: true), 24 Body = table.Column<string>(type: "text", nullable: true), 25 Cost = table.Column<int>(type: "integer", nullable: false) 26 26 }, 27 27 constraints: table => … … 71 71 Email = table.Column<string>(type: "text", nullable: true), 72 72 PasswordHash = table.Column<string>(type: "text", nullable: true), 73 MiddleName = table.Column<string>(type: "text", nullable: true), 74 Gender = table.Column<string>(type: "text", nullable: true), 75 Nationality = table.Column<string>(type: "text", nullable: true), 76 Citizenship = table.Column<string>(type: "text", nullable: true), 73 77 Bday = table.Column<DateTime>(type: "timestamp with time zone", nullable: false), 74 78 CreatedAt = table.Column<DateTime>(type: "timestamp with time zone", nullable: false), … … 111 115 SubjectId = table.Column<int>(type: "integer", nullable: false), 112 116 MandatorySemester = table.Column<int>(type: "integer", nullable: false), 113 A kreditacija= table.Column<int>(type: "integer", nullable: false)117 Accreditation = table.Column<int>(type: "integer", nullable: false) 114 118 }, 115 119 constraints: table => … … 136 140 Id = table.Column<int>(type: "integer", nullable: false) 137 141 .Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn), 138 city = table.Column<string>(type: "text", nullable: true),139 address = table.Column<string>(type: "text", nullable: true),140 municipality = table.Column<string>(type: "text", nullable: true),141 phoneNumber = table.Column<string>(type: "text", nullable: true),142 microsoftEmail = table.Column<string>(type: "text", nullable: true),142 City = table.Column<string>(type: "text", nullable: true), 143 Address = table.Column<string>(type: "text", nullable: true), 144 Municipality = table.Column<string>(type: "text", nullable: true), 145 PhoneNumber = table.Column<string>(type: "text", nullable: true), 146 MicrosoftEmail = table.Column<string>(type: "text", nullable: true), 143 147 UserId = table.Column<int>(type: "integer", nullable: false) 144 148 }, … … 192 196 quota = table.Column<int>(type: "integer", nullable: false), 193 197 MajorId = table.Column<int>(type: "integer", nullable: false), 194 UserId = table.Column<int>(type: "integer", nullable: false) 198 UserId = table.Column<int>(type: "integer", nullable: false), 199 StudyType = table.Column<string>(type: "text", nullable: true), 200 StudyStatus = table.Column<string>(type: "text", nullable: true) 195 201 }, 196 202 constraints: table => … … 218 224 .Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn), 219 225 GPA = table.Column<float>(type: "real", nullable: false), 220 tip = table.Column<int>(type: "integer", nullable: false), 221 UserId = table.Column<int>(type: "integer", nullable: false) 226 HighSchoolType = table.Column<int>(type: "integer", nullable: false), 227 UserId = table.Column<int>(type: "integer", nullable: false), 228 StudyLanguage = table.Column<string>(type: "text", nullable: true) 222 229 }, 223 230 constraints: table => -
iknow-api/Migrations/AppDbContextModelSnapshot.cs
r22439d3 r2d64b2e 31 31 NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id")); 32 32 33 b.Property< int>("UserId")34 .HasColumnType(" integer");35 36 b.Property<string>(" address")37 .HasColumnType("text"); 38 39 b.Property<string>(" city")40 .HasColumnType("text"); 41 42 b.Property<string>(" microsoftEmail")43 .HasColumnType("text"); 44 45 b.Property<string>(" municipality")46 .HasColumnType("text"); 47 48 b.Property< string>("phoneNumber")49 .HasColumnType(" text");33 b.Property<string>("Address") 34 .HasColumnType("text"); 35 36 b.Property<string>("City") 37 .HasColumnType("text"); 38 39 b.Property<string>("MicrosoftEmail") 40 .HasColumnType("text"); 41 42 b.Property<string>("Municipality") 43 .HasColumnType("text"); 44 45 b.Property<string>("PhoneNumber") 46 .HasColumnType("text"); 47 48 b.Property<int>("UserId") 49 .HasColumnType("integer"); 50 50 51 51 b.HasKey("Id"); … … 80 80 NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id")); 81 81 82 b.Property<string>(" body")83 .HasColumnType("text"); 84 85 b.Property<int>(" cost")86 .HasColumnType("integer"); 87 88 b.Property<string>(" name")82 b.Property<string>("Body") 83 .HasColumnType("text"); 84 85 b.Property<int>("Cost") 86 .HasColumnType("integer"); 87 88 b.Property<string>("Name") 89 89 .HasColumnType("text"); 90 90 … … 136 136 b.Property<int>("MajorId") 137 137 .HasColumnType("integer"); 138 139 b.Property<string>("StudyStatus") 140 .HasColumnType("text"); 141 142 b.Property<string>("StudyType") 143 .HasColumnType("text"); 138 144 139 145 b.Property<int>("UserId") … … 167 173 .HasColumnType("real"); 168 174 169 b.Property<int>("UserId") 170 .HasColumnType("integer"); 171 172 b.Property<int>("tip") 175 b.Property<int>("HighSchoolType") 176 .HasColumnType("integer"); 177 178 b.Property<string>("StudyLanguage") 179 .HasColumnType("text"); 180 181 b.Property<int>("UserId") 173 182 .HasColumnType("integer"); 174 183 … … 227 236 .HasColumnType("integer"); 228 237 229 b.Property<int>("A kreditacija")238 b.Property<int>("Accreditation") 230 239 .HasColumnType("integer"); 231 240 … … 379 388 .HasColumnType("timestamp with time zone"); 380 389 390 b.Property<string>("Citizenship") 391 .HasColumnType("text"); 392 381 393 b.Property<DateTime>("CreatedAt") 382 394 .HasColumnType("timestamp with time zone"); … … 388 400 .HasColumnType("text"); 389 401 402 b.Property<string>("Gender") 403 .HasColumnType("text"); 404 390 405 b.Property<string>("Index") 391 406 .HasColumnType("text"); 392 407 408 b.Property<string>("MiddleName") 409 .HasColumnType("text"); 410 393 411 b.Property<string>("Name") 412 .HasColumnType("text"); 413 414 b.Property<string>("Nationality") 394 415 .HasColumnType("text"); 395 416
Note:
See TracChangeset
for help on using the changeset viewer.
