Nearing feature complete for driver auth

This commit is contained in:
2013-01-09 21:33:57 -05:00
parent 0b4c7914b3
commit bc019923d2
49 changed files with 609 additions and 335 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ namespace MileageTraker.Web.Migrations
,'{1}'
,'{2}'
,'{3}'
,''
,'uninitialized_state'
,NULL
,{4}
,0
@@ -6,11 +6,15 @@ namespace MileageTraker.Web.Migrations
{
public override void Up()
{
CreateIndex("User", "FullName", unique: true);
DropIndex("User", "IX_Email");
DropColumn("Log", "EmployeeName");
}
public override void Down()
{
DropIndex("User", "IX_FullName");
CreateIndex("User", "Email", unique: true);
AddColumn("Log", "EmployeeName", c => c.String(nullable: false));
Sql(@"UPDATE [Log]
SET [Log].EmployeeName = [User].FullName