21 lines
		
	
	
		
			577 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			577 B
		
	
	
	
		
			C#
		
	
	
	
	
	
namespace Weee.Migrations
 | 
						|
{
 | 
						|
    using System;
 | 
						|
    using System.Data.Entity.Migrations;
 | 
						|
    
 | 
						|
    public partial class addSupplierUserName : DbMigration
 | 
						|
    {
 | 
						|
        public override void Up()
 | 
						|
        {
 | 
						|
            AddColumn("dbo.Suppliers", "UserName", c => c.String(nullable: true, maxLength: 256));
 | 
						|
            CreateIndex("dbo.Suppliers", "UserName", name: "AccountNameInex");
 | 
						|
        }
 | 
						|
        
 | 
						|
        public override void Down()
 | 
						|
        {
 | 
						|
            DropIndex("dbo.Suppliers", "AccountNameInex");
 | 
						|
            DropColumn("dbo.Suppliers", "UserName");
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |