refactor: update environment configuration, enhance installation script, and add migration scripts for database setup

This commit is contained in:
Poyraz Avsever
2026-06-13 21:10:21 +03:00
parent a47e39455c
commit 17ff60faea
12 changed files with 400 additions and 74 deletions
+22
View File
@@ -0,0 +1,22 @@
# 0004 - Business OS Tables
SQL file: `supabase/migrations/0004_add_business_os_tables.sql`
## Purpose
Adds business document and recurring cost tables used by the freelancer business layer.
## What It Creates
- `proposals`
- `contracts`
- `invoices`
- `subscriptions`
## RLS
Every table has `user_id` and row level security policies that allow users to select, insert, update, and delete only their own rows.
## Execution
Run after `0003_add_project_planning_assets.sql`.