Skip to content

Commit f950e17

Browse files
General ux improvements (#9)
2 parents 923c330 + 5a379b2 commit f950e17

File tree

20 files changed

+478
-743
lines changed

20 files changed

+478
-743
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ bun run preview # Build and preview production
131131
bun run lint # Run ESLint
132132
bun run lint:fix # Auto-fix ESLint issues
133133
bun run storybook # Launch Storybook
134-
bun run db:types # Generate DB types
134+
SUPABASE_PROJECT_ID=your-project-id bun run db:types # Generate DB types
135135
bun run db:migration # Create migration
136136

137137
# All commands work with npm as well:

migrations/20250314133234.sql

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
-- Timestamp: 20250314133234
2+
3+
-- Create env_defaults table with RLS enabled
4+
CREATE TABLE "public"."env_defaults" (
5+
env_id TEXT PRIMARY KEY REFERENCES "public"."envs"(id),
6+
description TEXT
7+
);
8+
9+
-- Enable Row Level Security
10+
ALTER TABLE "public"."env_defaults" ENABLE ROW LEVEL SECURITY;
11+
12+
-- Create an index on the foreign key for better performance
13+
CREATE INDEX "env_defaults_env_id_idx" ON "public"."env_defaults"("env_id");
14+

0 commit comments

Comments
 (0)