Adding Level to the Experience Table
This commit is contained in:
parent
a40edc8a99
commit
e8c6fcce76
@ -17,6 +17,7 @@ namespace ChaosBot.Migrations
|
|||||||
DiscordGuildId = table.Column<ulong>(nullable: false),
|
DiscordGuildId = table.Column<ulong>(nullable: false),
|
||||||
DiscordUserId = table.Column<ulong>(nullable: false),
|
DiscordUserId = table.Column<ulong>(nullable: false),
|
||||||
Amount = table.Column<ulong>(nullable: false, defaultValue: 0),
|
Amount = table.Column<ulong>(nullable: false, defaultValue: 0),
|
||||||
|
Level = table.Column<ulong>(nullable: false, defaultValue: 0),
|
||||||
lastUpdated = table.Column<DateTime>(nullable:false, defaultValue: "0000-00-00 00:00:00")
|
lastUpdated = table.Column<DateTime>(nullable:false, defaultValue: "0000-00-00 00:00:00")
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
|
|||||||
@ -12,6 +12,7 @@ namespace ChaosBot.Models
|
|||||||
public ulong DiscordGuildId { get; set; }
|
public ulong DiscordGuildId { get; set; }
|
||||||
public ulong Amount { get; set; }
|
public ulong Amount { get; set; }
|
||||||
public DateTime LastUpdated { get; set; }
|
public DateTime LastUpdated { get; set; }
|
||||||
|
public ulong Level { get; set; }
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user