You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
EntityFrameworkCore.Jet/test/EFCore.Jet.IntegrationTests/MigrationUpDownTest/MigrationWithDefaultValueSq...

18 lines
606 B
C#

namespace EFCore.Jet.Integration.Test.MigrationUpDownTest
{
public class MigrationWithDefaultValueSql : DbMigration
{
public override void Up()
{
CreateTable(
"MigrationWithDefaultValueSql",
c => new
{
Id = c.Int(nullable: false, identity: true),
Description = c.String(true, 50, null, null, null, "DftValue"),
DescriptionNotNullable = c.String(false, 50, null, null, null, "DftValue")
})
.PrimaryKey(t => t.Id);
}
}
}