C# Discord bot made using NetCord for keeping a TikTok-style streak
1// <auto-generated />
2using System;
3using Microsoft.EntityFrameworkCore;
4using Microsoft.EntityFrameworkCore.Infrastructure;
5using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
6using StreakBot.Data;
7
8#nullable disable
9
10namespace StreakBot.Migrations
11{
12 [DbContext(typeof(StreakDbContext))]
13 partial class StreakDbContextModelSnapshot : ModelSnapshot
14 {
15 protected override void BuildModel(ModelBuilder modelBuilder)
16 {
17#pragma warning disable 612, 618
18 modelBuilder.HasAnnotation("ProductVersion", "10.0.0");
19
20 modelBuilder.Entity("StreakBot.Data.Entities.Channel", b =>
21 {
22 b.Property<int>("Id")
23 .ValueGeneratedOnAdd()
24 .HasColumnType("INTEGER");
25
26 b.Property<ulong>("ChannelId")
27 .HasColumnType("INTEGER");
28
29 b.Property<int>("ChannelType")
30 .HasColumnType("INTEGER");
31
32 b.Property<ulong?>("MessageId")
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<ulong>("ChannelId")
50 .HasColumnType("INTEGER");
51
52 b.Property<DateTime>("CreatedDate")
53 .HasColumnType("TEXT");
54
55 b.Property<DateTime>("LastResetCheck")
56 .HasColumnType("TEXT");
57
58 b.Property<bool>("ReminderSent")
59 .HasColumnType("INTEGER");
60
61 b.Property<ulong>("ServerId")
62 .HasColumnType("INTEGER");
63
64 b.Property<int>("MonthlyRestores")
65 .HasColumnType("INTEGER");
66
67 b.Property<int>("StreakNumber")
68 .HasColumnType("INTEGER");
69
70 b.Property<int?>("StreakNumberToRestore")
71 .HasColumnType("INTEGER");
72
73 b.Property<ulong>("User1Id")
74 .HasColumnType("INTEGER");
75
76 b.Property<bool>("User1MessageSent")
77 .HasColumnType("INTEGER");
78
79 b.Property<ulong>("User2Id")
80 .HasColumnType("INTEGER");
81
82 b.Property<bool>("User2MessageSent")
83 .HasColumnType("INTEGER");
84
85 b.HasKey("Id");
86
87 b.ToTable("Streaks");
88 });
89#pragma warning restore 612, 618
90 }
91 }
92}