Changeset 2d64b2e for iknow-api/Migrations/20251209133847_InitalCreate.cs
- Timestamp:
- 12/09/25 14:54:20 (10 months ago)
- Branches:
- master
- Children:
- 33c69d6, 691f152
- Parents:
- 22439d3
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
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 =>
Note:
See TracChangeset
for help on using the changeset viewer.
