sockscape/server/Migrations/201706040437361_Initial.cs
2017-07-22 14:27:41 -05:00

28 lines
792 B
C#

namespace SockScape.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class Initial : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.Users",
c => new
{
Id = c.Long(nullable: false, identity: true),
Username = c.String(nullable: false, unicode: false),
Password = c.String(nullable: false, unicode: false),
Joined = c.DateTime(nullable: false, precision: 0),
})
.PrimaryKey(t => t.Id);
}
public override void Down()
{
DropTable("dbo.Users");
}
}
}