mirror of https://github.com/abpframework/abp
				
				
				
			
			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.
		
		
		
		
		
			
		
			
				
					
					
						
							34 lines
						
					
					
						
							1.3 KiB
						
					
					
				
			
		
		
	
	
							34 lines
						
					
					
						
							1.3 KiB
						
					
					
				| using System;
 | |
| using Microsoft.EntityFrameworkCore.Migrations;
 | |
| 
 | |
| namespace DistDemoApp.Migrations
 | |
| {
 | |
|     public partial class Initial : Migration
 | |
|     {
 | |
|         protected override void Up(MigrationBuilder migrationBuilder)
 | |
|         {
 | |
|             migrationBuilder.CreateTable(
 | |
|                 name: "TodoItems",
 | |
|                 columns: table => new
 | |
|                 {
 | |
|                     Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
 | |
|                     Text = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: false),
 | |
|                     ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true),
 | |
|                     ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true),
 | |
|                     CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
 | |
|                     CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true)
 | |
|                 },
 | |
|                 constraints: table =>
 | |
|                 {
 | |
|                     table.PrimaryKey("PK_TodoItems", x => x.Id);
 | |
|                 });
 | |
|         }
 | |
| 
 | |
|         protected override void Down(MigrationBuilder migrationBuilder)
 | |
|         {
 | |
|             migrationBuilder.DropTable(
 | |
|                 name: "TodoItems");
 | |
|         }
 | |
|     }
 | |
| }
 |