C# Discord bot made using NetCord for keeping a TikTok-style streak
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 83 lines 2.6 kB view raw
1// <auto-generated /> 2using System; 3using Microsoft.EntityFrameworkCore; 4using Microsoft.EntityFrameworkCore.Infrastructure; 5using Microsoft.EntityFrameworkCore.Migrations; 6using Microsoft.EntityFrameworkCore.Storage.ValueConversion; 7using StreakBot.Data; 8 9#nullable disable 10 11namespace StreakBot.Migrations 12{ 13 [DbContext(typeof(StreakDbContext))] 14 [Migration("20260204060128_InitialCreate")] 15 partial class InitialCreate 16 { 17 /// <inheritdoc /> 18 protected override void BuildTargetModel(ModelBuilder modelBuilder) 19 { 20#pragma warning disable 612, 618 21 modelBuilder.HasAnnotation("ProductVersion", "10.0.0"); 22 23 modelBuilder.Entity("StreakBot.Data.Entities.Channel", b => 24 { 25 b.Property<int>("Id") 26 .ValueGeneratedOnAdd() 27 .HasColumnType("INTEGER"); 28 29 b.Property<ulong>("ChannelId") 30 .HasColumnType("INTEGER"); 31 32 b.Property<int>("ChannelType") 33 .HasColumnType("INTEGER"); 34 35 b.Property<ulong>("ServerId") 36 .HasColumnType("INTEGER"); 37 38 b.HasKey("Id"); 39 40 b.ToTable("Channels"); 41 }); 42 43 modelBuilder.Entity("StreakBot.Data.Entities.Streak", b => 44 { 45 b.Property<int>("Id") 46 .ValueGeneratedOnAdd() 47 .HasColumnType("INTEGER"); 48 49 b.Property<DateTime>("CreatedDate") 50 .HasColumnType("TEXT"); 51 52 b.Property<DateTime>("LastResetCheck") 53 .HasColumnType("TEXT"); 54 55 b.Property<bool>("ReminderSent") 56 .HasColumnType("INTEGER"); 57 58 b.Property<ulong>("ServerId") 59 .HasColumnType("INTEGER"); 60 61 b.Property<int>("StreakNumber") 62 .HasColumnType("INTEGER"); 63 64 b.Property<ulong>("User1Id") 65 .HasColumnType("INTEGER"); 66 67 b.Property<bool>("User1MessageSent") 68 .HasColumnType("INTEGER"); 69 70 b.Property<ulong>("User2Id") 71 .HasColumnType("INTEGER"); 72 73 b.Property<bool>("User2MessageSent") 74 .HasColumnType("INTEGER"); 75 76 b.HasKey("Id"); 77 78 b.ToTable("Streaks"); 79 }); 80#pragma warning restore 612, 618 81 } 82 } 83}