GIT: perform LF normalization

This commit is contained in:
Gary Sharp
2013-02-28 17:15:46 +11:00
parent 989f08a24d
commit 7d9be5620d
729 changed files with 300734 additions and 300712 deletions
+25 -25
View File
@@ -1,25 +1,25 @@
namespace Disco.Data.Migrations
{
using System.Data.Entity.Migrations;
public partial class DBv1 : DbMigration
{
public override void Up()
{
AddColumn("DocumentTemplates", "FlattenForm", c => c.Boolean(nullable: false, defaultValue: false));
AddColumn("JobMetaNonWarranties", "AccountingChargeRequiredDate", c => c.DateTime());
AddColumn("JobMetaNonWarranties", "AccountingChargeRequiredUserId", c => c.String(maxLength: 50));
AddForeignKey("JobMetaNonWarranties", "AccountingChargeRequiredUserId", "Users", "Id");
CreateIndex("JobMetaNonWarranties", "AccountingChargeRequiredUserId");
}
public override void Down()
{
DropIndex("JobMetaNonWarranties", new[] { "AccountingChargeRequiredUserId" });
DropForeignKey("JobMetaNonWarranties", "AccountingChargeRequiredUserId", "Users");
DropColumn("JobMetaNonWarranties", "AccountingChargeRequiredUserId");
DropColumn("JobMetaNonWarranties", "AccountingChargeRequiredDate");
DropColumn("DocumentTemplates", "FlattenForm");
}
}
}
namespace Disco.Data.Migrations
{
using System.Data.Entity.Migrations;
public partial class DBv1 : DbMigration
{
public override void Up()
{
AddColumn("DocumentTemplates", "FlattenForm", c => c.Boolean(nullable: false, defaultValue: false));
AddColumn("JobMetaNonWarranties", "AccountingChargeRequiredDate", c => c.DateTime());
AddColumn("JobMetaNonWarranties", "AccountingChargeRequiredUserId", c => c.String(maxLength: 50));
AddForeignKey("JobMetaNonWarranties", "AccountingChargeRequiredUserId", "Users", "Id");
CreateIndex("JobMetaNonWarranties", "AccountingChargeRequiredUserId");
}
public override void Down()
{
DropIndex("JobMetaNonWarranties", new[] { "AccountingChargeRequiredUserId" });
DropForeignKey("JobMetaNonWarranties", "AccountingChargeRequiredUserId", "Users");
DropColumn("JobMetaNonWarranties", "AccountingChargeRequiredUserId");
DropColumn("JobMetaNonWarranties", "AccountingChargeRequiredDate");
DropColumn("DocumentTemplates", "FlattenForm");
}
}
}