| 1234567891011121314151617181920212223242526272829303132333435 |
- using Microsoft.EntityFrameworkCore.Migrations;
-
- #nullable disable
-
- namespace SecureSharing.Data.Migrations
- {
- public partial class AddingFileNameAndCode : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AddColumn<string>(
- name: "Code",
- table: "Messages",
- type: "nvarchar(max)",
- nullable: true);
-
- migrationBuilder.AddColumn<string>(
- name: "FileName",
- table: "Messages",
- type: "nvarchar(max)",
- nullable: true);
- }
-
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropColumn(
- name: "Code",
- table: "Messages");
-
- migrationBuilder.DropColumn(
- name: "FileName",
- table: "Messages");
- }
- }
- }
|