From e8c6fcce765589836b5382537ae28183fd8d1d17 Mon Sep 17 00:00:00 2001 From: Sean Stoves Date: Sat, 8 Aug 2020 23:54:08 -0400 Subject: [PATCH] Adding Level to the Experience Table --- ChaosBot/Migrations/20200804213001_ExperiencePoints.cs | 1 + ChaosBot/Models/Experience.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/ChaosBot/Migrations/20200804213001_ExperiencePoints.cs b/ChaosBot/Migrations/20200804213001_ExperiencePoints.cs index cffd85e..1ef77de 100644 --- a/ChaosBot/Migrations/20200804213001_ExperiencePoints.cs +++ b/ChaosBot/Migrations/20200804213001_ExperiencePoints.cs @@ -17,6 +17,7 @@ namespace ChaosBot.Migrations DiscordGuildId = table.Column(nullable: false), DiscordUserId = table.Column(nullable: false), Amount = table.Column(nullable: false, defaultValue: 0), + Level = table.Column(nullable: false, defaultValue: 0), lastUpdated = table.Column(nullable:false, defaultValue: "0000-00-00 00:00:00") }, constraints: table => diff --git a/ChaosBot/Models/Experience.cs b/ChaosBot/Models/Experience.cs index f430795..933de2d 100644 --- a/ChaosBot/Models/Experience.cs +++ b/ChaosBot/Models/Experience.cs @@ -12,6 +12,7 @@ namespace ChaosBot.Models public ulong DiscordGuildId { get; set; } public ulong Amount { get; set; } public DateTime LastUpdated { get; set; } + public ulong Level { get; set; } } #endregion } \ No newline at end of file