Add authentication, styling needs to be fixed
# Conflicts: # starter/ent/runtime.go # starter/go.mod # starter/go.sum # starter/routes/routing.go
This commit is contained in:
@@ -58,8 +58,8 @@ var (
|
||||
{Name: "id", Type: field.TypeInt, Increment: true},
|
||||
{Name: "created_at", Type: field.TypeTime},
|
||||
{Name: "updated_at", Type: field.TypeTime},
|
||||
{Name: "email", Type: field.TypeString, Default: "unknown@localhost"},
|
||||
{Name: "password", Type: field.TypeString, Default: ""},
|
||||
{Name: "email", Type: field.TypeString, Unique: true},
|
||||
{Name: "password_hash", Type: field.TypeString, Default: ""},
|
||||
}
|
||||
// UsersTable holds the schema information for the "users" table.
|
||||
UsersTable = &schema.Table{
|
||||
|
||||
Reference in New Issue
Block a user