aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Migrations/20200105150407_Initialize.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-02-29 18:12:13 +0800
committerGitHub <noreply@github.com>2020-02-29 18:12:13 +0800
commit11ab08bc1b61636e0681914c62794720e4ac6ac4 (patch)
tree9cbe0f8f6e6be22f66893b666ca537c0aebf268b /Timeline/Migrations/20200105150407_Initialize.cs
parent1d5e54dead00c08b500b9d40ec4f86d2554a0aab (diff)
parentb43b480d3c50b3f12cf01750c0951ece1fe70119 (diff)
downloadtimeline-11ab08bc1b61636e0681914c62794720e4ac6ac4.tar.gz
timeline-11ab08bc1b61636e0681914c62794720e4ac6ac4.tar.bz2
timeline-11ab08bc1b61636e0681914c62794720e4ac6ac4.zip
Merge pull request #66 from crupest/timeline-name
Widen timeline name constraint.
Diffstat (limited to 'Timeline/Migrations/20200105150407_Initialize.cs')
-rw-r--r--Timeline/Migrations/20200105150407_Initialize.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Timeline/Migrations/20200105150407_Initialize.cs b/Timeline/Migrations/20200105150407_Initialize.cs
index 2881ee64..4e12ef83 100644
--- a/Timeline/Migrations/20200105150407_Initialize.cs
+++ b/Timeline/Migrations/20200105150407_Initialize.cs
@@ -13,7 +13,7 @@ namespace Timeline.Migrations
{
id = table.Column<long>(nullable: false)
.Annotation("Sqlite:Autoincrement", true),
- name = table.Column<string>(maxLength: 26, nullable: false),
+ name = table.Column<string>(nullable: false),
password = table.Column<string>(nullable: false),
roles = table.Column<string>(nullable: false),
version = table.Column<long>(nullable: false, defaultValue: 0L)
@@ -55,7 +55,7 @@ namespace Timeline.Migrations
.Annotation("Sqlite:Autoincrement", true),
data = table.Column<byte[]>(nullable: true),
type = table.Column<string>(nullable: true),
- etag = table.Column<string>(maxLength: 30, nullable: true),
+ etag = table.Column<string>(nullable: true),
last_modified = table.Column<DateTime>(nullable: false),
UserId = table.Column<long>(nullable: false)
},
@@ -76,7 +76,7 @@ namespace Timeline.Migrations
{
id = table.Column<long>(nullable: false)
.Annotation("Sqlite:Autoincrement", true),
- nickname = table.Column<string>(maxLength: 26, nullable: true),
+ nickname = table.Column<string>(nullable: true),
UserId = table.Column<long>(nullable: false)
},
constraints: table =>