sockscape/server/Migrations/201706040437361_Initial.cs
2017-06-05 07:20:39 -05:00

28 lines
794 B
C#

namespace CircleScape.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");
}
}
}