Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Let's say you have a table called `profiles` in the public schema and you want t
-- 1. Create table
create table profiles (
id uuid primary key,
user_id references auth.users,
user_id uuid references auth.users,
avatar_url text
);

Expand Down
1 change: 1 addition & 0 deletions apps/studio/pages/new/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ const FormSchema = z.object({
}),
projectName: z
.string()
.trim()
.min(1, 'Please enter a project name.') // Required field check
.min(3, 'Project name must be at least 3 characters long.') // Minimum length check
.max(64, 'Project name must be no longer than 64 characters.'), // Maximum length check
Expand Down
Loading