diff options
author | crupest <crupest@outlook.com> | 2020-06-14 14:21:44 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-06-14 14:21:44 +0800 |
commit | 5d467d950fd4078146709470084cbfae331b8b10 (patch) | |
tree | 04068a987a6edce803d99e8e110509436604f70d /Timeline/Entities/TimelineEntity.cs | |
parent | 7ed5306c62262921264bf9c83e00a4c9f3ae33b1 (diff) | |
download | timeline-5d467d950fd4078146709470084cbfae331b8b10.tar.gz timeline-5d467d950fd4078146709470084cbfae331b8b10.tar.bz2 timeline-5d467d950fd4078146709470084cbfae331b8b10.zip |
refactor(back): No longer use standard guid but just use 32-length hex for unique id of timeline.
Diffstat (limited to 'Timeline/Entities/TimelineEntity.cs')
-rw-r--r-- | Timeline/Entities/TimelineEntity.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Timeline/Entities/TimelineEntity.cs b/Timeline/Entities/TimelineEntity.cs index 4a4e8502..1159cbfe 100644 --- a/Timeline/Entities/TimelineEntity.cs +++ b/Timeline/Entities/TimelineEntity.cs @@ -14,8 +14,8 @@ namespace Timeline.Entities [Column("id"), Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long Id { get; set; }
- [Column("unique_id", TypeName = "BLOB"), Required]
- public Guid UniqueId { get; set; } = default!;
+ [Column("unique_id"), Required]
+ public string UniqueId { get; set; } = default!;
/// <summary>
/// If null, then this timeline is a personal timeline.
|