|
|
@@ -1,5 +1,5 @@ |
|
|
|
using Microsoft.EntityFrameworkCore.Metadata; |
|
|
|
using Microsoft.EntityFrameworkCore.Migrations; |
|
|
|
using Microsoft.EntityFrameworkCore.Migrations; |
|
|
|
using MySql.Data.EntityFrameworkCore.Metadata; |
|
|
|
|
|
|
|
namespace Sample.RabbitMQ.MySql.Migrations |
|
|
|
{ |
|
|
@@ -12,7 +12,7 @@ namespace Sample.RabbitMQ.MySql.Migrations |
|
|
|
columns: table => new |
|
|
|
{ |
|
|
|
Id = table.Column<int>(nullable: false) |
|
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn), |
|
|
|
.Annotation("MySql:ValueGenerationStrategy", MySQLValueGenerationStrategy.IdentityColumn), |
|
|
|
Name = table.Column<string>(nullable: true) |
|
|
|
}, |
|
|
|
constraints: table => |
|
|
|