You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20221020114243_Adding nonyomus links.cs 695B

1234567891011121314151617181920212223242526
  1. using Microsoft.EntityFrameworkCore.Migrations;
  2. #nullable disable
  3. namespace SecureSharing.Data.Migrations
  4. {
  5. public partial class Addingnonyomuslinks : Migration
  6. {
  7. protected override void Up(MigrationBuilder migrationBuilder)
  8. {
  9. migrationBuilder.AddColumn<bool>(
  10. name: "Anonymous",
  11. table: "Messages",
  12. type: "bit",
  13. nullable: false,
  14. defaultValue: false);
  15. }
  16. protected override void Down(MigrationBuilder migrationBuilder)
  17. {
  18. migrationBuilder.DropColumn(
  19. name: "Anonymous",
  20. table: "Messages");
  21. }
  22. }
  23. }