mirror of
https://git.sr.ht/~roxwize/mipilin
synced 2025-05-10 23:33:07 +00:00
VALIDATION
Signed-off-by: roxwize <rae@roxwize.xyz>
This commit is contained in:
parent
0015f4bb86
commit
65c29b0564
5 changed files with 27 additions and 8 deletions
|
@ -9,7 +9,7 @@ import {
|
|||
|
||||
export const users = pgTable("users", {
|
||||
id: integer().primaryKey().generatedAlwaysAsIdentity(),
|
||||
email: varchar().unique().notNull(), //! make this required on signup
|
||||
email: varchar().unique().notNull(),
|
||||
name: varchar({ length: 26 }).unique().notNull(),
|
||||
pass: varchar({ length: 255 }).notNull(),
|
||||
registered: timestamp().notNull(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue