diff --git a/ChaosBot/Migrations/20200804195804_LodestoneCharacter.Designer.cs b/ChaosBot/Migrations/20200804195804_LodestoneCharacter.Designer.cs
new file mode 100644
index 0000000..d7d98d2
--- /dev/null
+++ b/ChaosBot/Migrations/20200804195804_LodestoneCharacter.Designer.cs
@@ -0,0 +1,23 @@
+//
+using ChaosBot.Models;
+using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore.Infrastructure;
+using Microsoft.EntityFrameworkCore.Migrations;
+using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
+
+namespace ChaosBot.Migrations
+{
+ [DbContext(typeof(ChaosbotContext))]
+ [Migration("20200804195804_LodestoneCharacter")]
+ partial class LodestoneCharacter
+ {
+ protected override void BuildTargetModel(ModelBuilder modelBuilder)
+ {
+#pragma warning disable 612, 618
+ modelBuilder
+ .HasAnnotation("ProductVersion", "3.1.6")
+ .HasAnnotation("Relational:MaxIdentifierLength", 64);
+#pragma warning restore 612, 618
+ }
+ }
+}
diff --git a/ChaosBot/Migrations/20200804195804_LodestoneCharacter.cs b/ChaosBot/Migrations/20200804195804_LodestoneCharacter.cs
new file mode 100644
index 0000000..1a01d9e
--- /dev/null
+++ b/ChaosBot/Migrations/20200804195804_LodestoneCharacter.cs
@@ -0,0 +1,32 @@
+using Microsoft.EntityFrameworkCore.Migrations;
+
+namespace ChaosBot.Migrations
+{
+ public partial class LodestoneCharacter : Migration
+ {
+ private const string Table = "LodestoneCharacter";
+
+ protected override void Up(MigrationBuilder migrationBuilder)
+ {
+ migrationBuilder.CreateTable(
+ name: Table,
+ columns: table => new
+ {
+ LodestoneId = table.Column(nullable: false),
+ DiscordUserId = table.Column(nullable: false),
+ DiscordGuildId = table.Column(nullable: false),
+ Name = table.Column(nullable: false),
+ Avatar = table.Column(nullable: false)
+ },
+ constraints: table =>
+ {
+ table.PrimaryKey("PK_CharacterAndGuild", x => new {x.DiscordGuildId, x.LodestoneId});
+ });
+ }
+
+ protected override void Down(MigrationBuilder migrationBuilder)
+ {
+ migrationBuilder.DropTable(Table);
+ }
+ }
+}
diff --git a/ChaosBot/Migrations/20200804202834_LodestoneFreeCompany.Designer.cs b/ChaosBot/Migrations/20200804202834_LodestoneFreeCompany.Designer.cs
new file mode 100644
index 0000000..b659828
--- /dev/null
+++ b/ChaosBot/Migrations/20200804202834_LodestoneFreeCompany.Designer.cs
@@ -0,0 +1,23 @@
+//
+using ChaosBot.Models;
+using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore.Infrastructure;
+using Microsoft.EntityFrameworkCore.Migrations;
+using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
+
+namespace ChaosBot.Migrations
+{
+ [DbContext(typeof(ChaosbotContext))]
+ [Migration("20200804202834_LodestoneFreeCompany")]
+ partial class LodestoneFreeCompany
+ {
+ protected override void BuildTargetModel(ModelBuilder modelBuilder)
+ {
+#pragma warning disable 612, 618
+ modelBuilder
+ .HasAnnotation("ProductVersion", "3.1.6")
+ .HasAnnotation("Relational:MaxIdentifierLength", 64);
+#pragma warning restore 612, 618
+ }
+ }
+}
diff --git a/ChaosBot/Migrations/20200804202834_LodestoneFreeCompany.cs b/ChaosBot/Migrations/20200804202834_LodestoneFreeCompany.cs
new file mode 100644
index 0000000..e11c02d
--- /dev/null
+++ b/ChaosBot/Migrations/20200804202834_LodestoneFreeCompany.cs
@@ -0,0 +1,30 @@
+using Microsoft.EntityFrameworkCore.Migrations;
+
+namespace ChaosBot.Migrations
+{
+ public partial class LodestoneFreeCompany : Migration
+ {
+ private const string Table = "LodestoneFreeCompany";
+
+ protected override void Up(MigrationBuilder migrationBuilder)
+ {
+ migrationBuilder.CreateTable(
+ name: Table,
+ columns: table => new
+ {
+ LodestoneId = table.Column(nullable: false),
+ DiscordGuildId = table.Column(nullable: false),
+ Name = table.Column(nullable: false)
+ },
+ constraints: table =>
+ {
+ table.PrimaryKey("PK_FCAndGuild", x => new {x.DiscordGuildId, x.LodestoneId});
+ });
+ }
+
+ protected override void Down(MigrationBuilder migrationBuilder)
+ {
+ migrationBuilder.DropTable(Table);
+ }
+ }
+}
diff --git a/ChaosBot/Migrations/20200804203214_Points.Designer.cs b/ChaosBot/Migrations/20200804203214_Points.Designer.cs
new file mode 100644
index 0000000..6245ef7
--- /dev/null
+++ b/ChaosBot/Migrations/20200804203214_Points.Designer.cs
@@ -0,0 +1,23 @@
+//
+using ChaosBot.Models;
+using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore.Infrastructure;
+using Microsoft.EntityFrameworkCore.Migrations;
+using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
+
+namespace ChaosBot.Migrations
+{
+ [DbContext(typeof(ChaosbotContext))]
+ [Migration("20200804203214_Points")]
+ partial class Points
+ {
+ protected override void BuildTargetModel(ModelBuilder modelBuilder)
+ {
+#pragma warning disable 612, 618
+ modelBuilder
+ .HasAnnotation("ProductVersion", "3.1.6")
+ .HasAnnotation("Relational:MaxIdentifierLength", 64);
+#pragma warning restore 612, 618
+ }
+ }
+}
diff --git a/ChaosBot/Migrations/20200804203214_Points.cs b/ChaosBot/Migrations/20200804203214_Points.cs
new file mode 100644
index 0000000..bfcac30
--- /dev/null
+++ b/ChaosBot/Migrations/20200804203214_Points.cs
@@ -0,0 +1,30 @@
+using Microsoft.EntityFrameworkCore.Migrations;
+
+namespace ChaosBot.Migrations
+{
+ public partial class Points : Migration
+ {
+ private const string Table = "Points";
+
+ protected override void Up(MigrationBuilder migrationBuilder)
+ {
+ migrationBuilder.CreateTable(
+ name: Table,
+ columns: table => new
+ {
+ DiscordUserId = table.Column(nullable: false),
+ DiscordGuildId = table.Column(nullable: false),
+ Amount = table.Column(nullable: false, defaultValue: 0)
+ },
+ constraints: table =>
+ {
+ table.PrimaryKey("PK_UserAndServer", x => new {x.DiscordUserId, x.DiscordGuildId});
+ });
+ }
+
+ protected override void Down(MigrationBuilder migrationBuilder)
+ {
+ migrationBuilder.DropTable(Table);
+ }
+ }
+}
diff --git a/ChaosBot/Migrations/20200804204404_Raffles.Designer.cs b/ChaosBot/Migrations/20200804204404_Raffles.Designer.cs
new file mode 100644
index 0000000..8e9d871
--- /dev/null
+++ b/ChaosBot/Migrations/20200804204404_Raffles.Designer.cs
@@ -0,0 +1,23 @@
+//
+using ChaosBot.Models;
+using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore.Infrastructure;
+using Microsoft.EntityFrameworkCore.Migrations;
+using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
+
+namespace ChaosBot.Migrations
+{
+ [DbContext(typeof(ChaosbotContext))]
+ [Migration("20200804204404_Raffles")]
+ partial class Raffles
+ {
+ protected override void BuildTargetModel(ModelBuilder modelBuilder)
+ {
+#pragma warning disable 612, 618
+ modelBuilder
+ .HasAnnotation("ProductVersion", "3.1.6")
+ .HasAnnotation("Relational:MaxIdentifierLength", 64);
+#pragma warning restore 612, 618
+ }
+ }
+}
diff --git a/ChaosBot/Migrations/20200804204404_Raffles.cs b/ChaosBot/Migrations/20200804204404_Raffles.cs
new file mode 100644
index 0000000..4c2ac5f
--- /dev/null
+++ b/ChaosBot/Migrations/20200804204404_Raffles.cs
@@ -0,0 +1,32 @@
+using Microsoft.EntityFrameworkCore.Metadata;
+using Microsoft.EntityFrameworkCore.Migrations;
+
+namespace ChaosBot.Migrations
+{
+ public partial class Raffles : Migration
+ {
+ private const string Table = "Raffles";
+
+ protected override void Up(MigrationBuilder migrationBuilder)
+ {
+ migrationBuilder.CreateTable(
+ name: Table,
+ columns: table => new
+ {
+ Id = table.Column(nullable: false)
+ .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn),
+ DiscordUserId = table.Column(nullable: false),
+ DiscordGuildId = table.Column(nullable: false)
+ },
+ constraints: table =>
+ {
+ table.PrimaryKey("PK_ID", x => x.Id);
+ });
+ }
+
+ protected override void Down(MigrationBuilder migrationBuilder)
+ {
+ migrationBuilder.DropTable(Table);
+ }
+ }
+}
diff --git a/ChaosBot/Migrations/20200804204734_CommandPermissions.Designer.cs b/ChaosBot/Migrations/20200804204734_CommandPermissions.Designer.cs
new file mode 100644
index 0000000..fd8e177
--- /dev/null
+++ b/ChaosBot/Migrations/20200804204734_CommandPermissions.Designer.cs
@@ -0,0 +1,23 @@
+//
+using ChaosBot.Models;
+using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore.Infrastructure;
+using Microsoft.EntityFrameworkCore.Migrations;
+using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
+
+namespace ChaosBot.Migrations
+{
+ [DbContext(typeof(ChaosbotContext))]
+ [Migration("20200804204734_CommandPermissions")]
+ partial class CommandPermissions
+ {
+ protected override void BuildTargetModel(ModelBuilder modelBuilder)
+ {
+#pragma warning disable 612, 618
+ modelBuilder
+ .HasAnnotation("ProductVersion", "3.1.6")
+ .HasAnnotation("Relational:MaxIdentifierLength", 64);
+#pragma warning restore 612, 618
+ }
+ }
+}
diff --git a/ChaosBot/Migrations/20200804204734_CommandPermissions.cs b/ChaosBot/Migrations/20200804204734_CommandPermissions.cs
new file mode 100644
index 0000000..47270e0
--- /dev/null
+++ b/ChaosBot/Migrations/20200804204734_CommandPermissions.cs
@@ -0,0 +1,41 @@
+using Microsoft.EntityFrameworkCore.Metadata;
+using Microsoft.EntityFrameworkCore.Migrations;
+
+namespace ChaosBot.Migrations
+{
+ public partial class CommandPermissions : Migration
+ {
+ private const string Table = "CommandPermissions";
+
+ protected override void Up(MigrationBuilder migrationBuilder)
+ {
+ migrationBuilder.CreateTable(
+ name: Table,
+ columns: table => new
+ {
+ Id = table.Column(nullable: false)
+ .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn),
+ DiscordGuildId = table.Column(nullable: false),
+ TargetId = table.Column(nullable: false),
+ TargetType = table.Column(nullable: false),
+ Command = table.Column(nullable: false)
+ },
+ constraints: table =>
+ {
+ table.PrimaryKey("PK_ID", x => x.Id);
+ table.UniqueConstraint("UK_OneCommandPerTargetOnGuild", x => new {x.DiscordGuildId, x.TargetType, x.TargetId, x.Command});
+ });
+ }
+
+ protected override void Down(MigrationBuilder migrationBuilder)
+ {
+ migrationBuilder.DropTable(Table);
+ }
+ }
+
+ public enum PermissionTarget
+ {
+ User,
+ Role
+ }
+}
diff --git a/ChaosBot/Migrations/20200804205955_Configuration.Designer.cs b/ChaosBot/Migrations/20200804205955_Configuration.Designer.cs
new file mode 100644
index 0000000..f088ea8
--- /dev/null
+++ b/ChaosBot/Migrations/20200804205955_Configuration.Designer.cs
@@ -0,0 +1,23 @@
+//
+using ChaosBot.Models;
+using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore.Infrastructure;
+using Microsoft.EntityFrameworkCore.Migrations;
+using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
+
+namespace ChaosBot.Migrations
+{
+ [DbContext(typeof(ChaosbotContext))]
+ [Migration("20200804205955_Configuration")]
+ partial class Configuration
+ {
+ protected override void BuildTargetModel(ModelBuilder modelBuilder)
+ {
+#pragma warning disable 612, 618
+ modelBuilder
+ .HasAnnotation("ProductVersion", "3.1.6")
+ .HasAnnotation("Relational:MaxIdentifierLength", 64);
+#pragma warning restore 612, 618
+ }
+ }
+}
diff --git a/ChaosBot/Migrations/20200804205955_Configuration.cs b/ChaosBot/Migrations/20200804205955_Configuration.cs
new file mode 100644
index 0000000..a557550
--- /dev/null
+++ b/ChaosBot/Migrations/20200804205955_Configuration.cs
@@ -0,0 +1,30 @@
+using Microsoft.EntityFrameworkCore.Migrations;
+
+namespace ChaosBot.Migrations
+{
+ public partial class Configuration : Migration
+ {
+ private const string Table = "Configuration";
+
+ protected override void Up(MigrationBuilder migrationBuilder)
+ {
+ migrationBuilder.CreateTable(
+ name: Table,
+ columns: table => new
+ {
+ DiscordGuildId = table.Column(nullable: false),
+ Key = table.Column(nullable: false, maxLength: 128),
+ SerializedValue = table.Column(nullable: false)
+ },
+ constraints: table =>
+ {
+ table.PrimaryKey("PK_KeyOnGuild", x => new {x.DiscordGuildId, x.Key});
+ });
+ }
+
+ protected override void Down(MigrationBuilder migrationBuilder)
+ {
+ migrationBuilder.DropTable(Table);
+ }
+ }
+}
diff --git a/ChaosBot/Migrations/20200804213001_ExperiencePoints.Designer.cs b/ChaosBot/Migrations/20200804213001_ExperiencePoints.Designer.cs
new file mode 100644
index 0000000..52ddea9
--- /dev/null
+++ b/ChaosBot/Migrations/20200804213001_ExperiencePoints.Designer.cs
@@ -0,0 +1,139 @@
+//
+using ChaosBot.Models;
+using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore.Infrastructure;
+using Microsoft.EntityFrameworkCore.Migrations;
+using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
+
+namespace ChaosBot.Migrations
+{
+ [DbContext(typeof(ChaosbotContext))]
+ [Migration("20200804213001_ExperiencePoints")]
+ partial class ExperiencePoints
+ {
+ protected override void BuildTargetModel(ModelBuilder modelBuilder)
+ {
+#pragma warning disable 612, 618
+ modelBuilder
+ .HasAnnotation("ProductVersion", "3.1.6")
+ .HasAnnotation("Relational:MaxIdentifierLength", 64);
+
+ modelBuilder.Entity("ChaosBot.Models.CommandPermission", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bigint unsigned");
+
+ b.Property("Command")
+ .IsRequired()
+ .HasColumnType("longtext CHARACTER SET utf8mb4");
+
+ b.Property("DiscordGuildId")
+ .HasColumnType("bigint unsigned");
+
+ b.Property("TargetId")
+ .HasColumnType("bigint unsigned");
+
+ b.Property("TargetType")
+ .HasColumnType("int");
+
+ b.HasKey("Id");
+
+ b.ToTable("CommandPermissions");
+ });
+
+ modelBuilder.Entity("ChaosBot.Models.Configuration", b =>
+ {
+ b.Property("DiscordGuildId")
+ .HasColumnType("bigint unsigned");
+
+ b.Property("Key")
+ .HasColumnType("varchar(128) CHARACTER SET utf8mb4")
+ .HasMaxLength(128);
+
+ b.Property("SerializedValue")
+ .IsRequired()
+ .HasColumnType("longtext CHARACTER SET utf8mb4");
+
+ b.HasKey("DiscordGuildId", "Key");
+
+ b.ToTable("Configuration");
+ });
+
+ modelBuilder.Entity("ChaosBot.Models.LodestoneCharacter", b =>
+ {
+ b.Property("DiscordGuildId")
+ .HasColumnType("bigint unsigned");
+
+ b.Property("LodestoneId")
+ .HasColumnType("bigint unsigned");
+
+ b.Property("Avatar")
+ .IsRequired()
+ .HasColumnType("longtext CHARACTER SET utf8mb4");
+
+ b.Property("DiscordUserId")
+ .HasColumnType("bigint unsigned");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasColumnType("longtext CHARACTER SET utf8mb4");
+
+ b.HasKey("DiscordGuildId", "LodestoneId");
+
+ b.ToTable("LodestoneCharacter");
+ });
+
+ modelBuilder.Entity("ChaosBot.Models.LodestoneFreeCompany", b =>
+ {
+ b.Property("DiscordGuildId")
+ .HasColumnType("bigint unsigned");
+
+ b.Property("LodestoneId")
+ .HasColumnType("bigint unsigned");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasColumnType("longtext CHARACTER SET utf8mb4");
+
+ b.HasKey("DiscordGuildId", "LodestoneId");
+
+ b.ToTable("LodestoneFreeCompany");
+ });
+
+ modelBuilder.Entity("ChaosBot.Models.Point", b =>
+ {
+ b.Property("DiscordGuildId")
+ .HasColumnType("bigint unsigned");
+
+ b.Property("DiscordUserId")
+ .HasColumnType("bigint unsigned");
+
+ b.Property("Amount")
+ .HasColumnType("bigint unsigned");
+
+ b.HasKey("DiscordGuildId", "DiscordUserId");
+
+ b.ToTable("Points");
+ });
+
+ modelBuilder.Entity("ChaosBot.Models.Raffle", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bigint unsigned");
+
+ b.Property("DiscordGuildId")
+ .HasColumnType("bigint unsigned");
+
+ b.Property("DiscordUserId")
+ .HasColumnType("bigint unsigned");
+
+ b.HasKey("Id");
+
+ b.ToTable("Raffles");
+ });
+#pragma warning restore 612, 618
+ }
+ }
+}
diff --git a/ChaosBot/Migrations/20200804213001_ExperiencePoints.cs b/ChaosBot/Migrations/20200804213001_ExperiencePoints.cs
new file mode 100644
index 0000000..6abf7c6
--- /dev/null
+++ b/ChaosBot/Migrations/20200804213001_ExperiencePoints.cs
@@ -0,0 +1,31 @@
+using Microsoft.EntityFrameworkCore.Metadata;
+using Microsoft.EntityFrameworkCore.Migrations;
+
+namespace ChaosBot.Migrations
+{
+ public partial class ExperiencePoints : Migration
+ {
+ private const string Table = "ExperiencePoints";
+
+ protected override void Up(MigrationBuilder migrationBuilder)
+ {
+ migrationBuilder.CreateTable(
+ name: Table,
+ columns: table => new
+ {
+ DiscordGuildId = table.Column(nullable: false),
+ DiscordUserId = table.Column(nullable: false),
+ Amount = table.Column(nullable: false, defaultValue: 0)
+ },
+ constraints: table =>
+ {
+ table.PrimaryKey("PK_UserAndGuild", x => new {x.DiscordUserId, x.DiscordGuildId});
+ });
+ }
+
+ protected override void Down(MigrationBuilder migrationBuilder)
+ {
+ migrationBuilder.DropTable(Table);
+ }
+ }
+}
diff --git a/ChaosBot/Migrations/ChaosbotContextModelSnapshot.cs b/ChaosBot/Migrations/ChaosbotContextModelSnapshot.cs
new file mode 100644
index 0000000..9903ed6
--- /dev/null
+++ b/ChaosBot/Migrations/ChaosbotContextModelSnapshot.cs
@@ -0,0 +1,137 @@
+//
+using ChaosBot.Models;
+using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore.Infrastructure;
+using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
+
+namespace ChaosBot.Migrations
+{
+ [DbContext(typeof(ChaosbotContext))]
+ partial class ChaosbotContextModelSnapshot : ModelSnapshot
+ {
+ protected override void BuildModel(ModelBuilder modelBuilder)
+ {
+#pragma warning disable 612, 618
+ modelBuilder
+ .HasAnnotation("ProductVersion", "3.1.6")
+ .HasAnnotation("Relational:MaxIdentifierLength", 64);
+
+ modelBuilder.Entity("ChaosBot.Models.CommandPermission", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bigint unsigned");
+
+ b.Property("Command")
+ .IsRequired()
+ .HasColumnType("longtext CHARACTER SET utf8mb4");
+
+ b.Property("DiscordGuildId")
+ .HasColumnType("bigint unsigned");
+
+ b.Property("TargetId")
+ .HasColumnType("bigint unsigned");
+
+ b.Property("TargetType")
+ .HasColumnType("int");
+
+ b.HasKey("Id");
+
+ b.ToTable("CommandPermissions");
+ });
+
+ modelBuilder.Entity("ChaosBot.Models.Configuration", b =>
+ {
+ b.Property("DiscordGuildId")
+ .HasColumnType("bigint unsigned");
+
+ b.Property("Key")
+ .HasColumnType("varchar(128) CHARACTER SET utf8mb4")
+ .HasMaxLength(128);
+
+ b.Property("SerializedValue")
+ .IsRequired()
+ .HasColumnType("longtext CHARACTER SET utf8mb4");
+
+ b.HasKey("DiscordGuildId", "Key");
+
+ b.ToTable("Configuration");
+ });
+
+ modelBuilder.Entity("ChaosBot.Models.LodestoneCharacter", b =>
+ {
+ b.Property("DiscordGuildId")
+ .HasColumnType("bigint unsigned");
+
+ b.Property("LodestoneId")
+ .HasColumnType("bigint unsigned");
+
+ b.Property("Avatar")
+ .IsRequired()
+ .HasColumnType("longtext CHARACTER SET utf8mb4");
+
+ b.Property("DiscordUserId")
+ .HasColumnType("bigint unsigned");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasColumnType("longtext CHARACTER SET utf8mb4");
+
+ b.HasKey("DiscordGuildId", "LodestoneId");
+
+ b.ToTable("LodestoneCharacter");
+ });
+
+ modelBuilder.Entity("ChaosBot.Models.LodestoneFreeCompany", b =>
+ {
+ b.Property("DiscordGuildId")
+ .HasColumnType("bigint unsigned");
+
+ b.Property("LodestoneId")
+ .HasColumnType("bigint unsigned");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasColumnType("longtext CHARACTER SET utf8mb4");
+
+ b.HasKey("DiscordGuildId", "LodestoneId");
+
+ b.ToTable("LodestoneFreeCompany");
+ });
+
+ modelBuilder.Entity("ChaosBot.Models.Point", b =>
+ {
+ b.Property("DiscordGuildId")
+ .HasColumnType("bigint unsigned");
+
+ b.Property("DiscordUserId")
+ .HasColumnType("bigint unsigned");
+
+ b.Property("Amount")
+ .HasColumnType("bigint unsigned");
+
+ b.HasKey("DiscordGuildId", "DiscordUserId");
+
+ b.ToTable("Points");
+ });
+
+ modelBuilder.Entity("ChaosBot.Models.Raffle", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bigint unsigned");
+
+ b.Property("DiscordGuildId")
+ .HasColumnType("bigint unsigned");
+
+ b.Property("DiscordUserId")
+ .HasColumnType("bigint unsigned");
+
+ b.HasKey("Id");
+
+ b.ToTable("Raffles");
+ });
+#pragma warning restore 612, 618
+ }
+ }
+}