Skip to content
This repository was archived by the owner on Apr 20, 2024. It is now read-only.

Commit 821a718

Browse files
authored
changed name to varchar 191
1 parent b61674f commit 821a718

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/AdminPanel/Models/BackendUsers/BackendUser.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public final class BackendUser: Auth.User, Model {
104104
public static func prepare(_ database: Database) throws {
105105
try database.create("backend_users") { table in
106106
table.id()
107-
table.string("name")
107+
table.varchar("name", length: 191)
108108
table.varchar("email", length: 191, unique: true)
109109
table.varchar("password", length: 191)
110110
table.varchar("role", length: 191)

0 commit comments

Comments
 (0)