mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
well, it's generated column
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Text;
|
||||
using Kruzya.TelegramBot.RichSiteSummary.UrchinTrackingModule;
|
||||
using Telegram.Bot.Types.Enums;
|
||||
@@ -84,10 +85,10 @@ public class Post : RepresentableEntity
|
||||
public DateTime ReceivedAt { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// SHA256
|
||||
/// </summary>
|
||||
[Required]
|
||||
[MaxLength(64)]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string UrlHash { get; set; }
|
||||
|
||||
public Post()
|
||||
|
||||
Reference in New Issue
Block a user