namespace Weee.Migrations { using System; using System.Data.Entity.Migrations; public partial class addColumnSynergerUser : DbMigration { public override void Up() { AddColumn("dbo.SynergerUsers", "accessToken", c => c.String(unicode:false, nullable:false, maxLength:50)); AddColumn("dbo.SynergerUsers", "modifyTime", c => c.DateTime(nullable: false, defaultValueSql:"getdate()")); } public override void Down() { DropColumn("dbo.SynergerUsers", "modifyTime"); DropColumn("dbo.SynergerUsers", "accessToken"); } } }