mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
- Removed all migrations, added squash instead which will build the database, prerequisite for this migration to be skipped is to be on the latest version of 2.x before moving over
- Added cleanup migration, it will clean the ef migration history, and delete unused fields - Started working on README.md
This commit is contained in:
@@ -51,7 +51,6 @@ namespace NadekoBot.Services.Database
|
||||
public DbSet<AutoCommand> AutoCommands { get; set; }
|
||||
|
||||
public DbSet<RewardedUser> RewardedUsers { get; set; }
|
||||
public DbSet<Stake> Stakes { get; set; }
|
||||
public DbSet<PlantedCurrency> PlantedCurrency { get; set; }
|
||||
public DbSet<BanTemplate> BanTemplates { get; set; }
|
||||
public DbSet<DiscordPermOverride> DiscordPermOverrides { get; set; }
|
||||
@@ -142,14 +141,6 @@ namespace NadekoBot.Services.Database
|
||||
|
||||
#endregion
|
||||
|
||||
#region Permission
|
||||
var permissionEntity = modelBuilder.Entity<Permission>();
|
||||
permissionEntity
|
||||
.HasOne(p => p.Next)
|
||||
.WithOne(p => p.Previous)
|
||||
.IsRequired(false);
|
||||
#endregion
|
||||
|
||||
#region MusicPlaylists
|
||||
var musicPlaylistEntity = modelBuilder.Entity<MusicPlaylist>();
|
||||
|
||||
|
Reference in New Issue
Block a user