Nearing feature complete for driver auth
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user