@freehour/supabase-core 1.3.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -29,7 +29,7 @@ bun pm trust @freehour/supabase-core
29
29
 
30
30
  ### Configuration
31
31
 
32
- If you generate migrations from schemas, make sure to include the `supabase-core` schema in your `schema_paths` in `supabase/config.toml`.
32
+ If you generate migrations from schemas, make sure to include the `supabase-core` db schema in your `schema_paths` in `supabase/config.toml`.
33
33
 
34
34
  ```toml
35
35
  schema_paths = ["./schemas/supabase-core/*.sql", /* your app schema paths */]
@@ -37,14 +37,13 @@ schema_paths = ["./schemas/supabase-core/*.sql", /* your app schema paths */]
37
37
 
38
38
  ### Building
39
39
 
40
- Make sure the migrations are up to date:
40
+ If you chaged the database schema run the build script:
41
41
 
42
42
  ```bash
43
- rm -rf supabase/migrations/.*sql
44
- bunx supabase db diff -f 0000_supabase_core
43
+ ./scripts/build.sh
45
44
  ```
46
45
 
47
- Then build the package:
46
+ otherwise, you can just build the package:
48
47
 
49
48
  ```bash
50
49
  bun run build