Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Update 2024-09-23-local-first-expo-legend-state.mdx (#29538)

Jay Meistrichcaaad918173b
diff --git a/apps/www/_blog/2024-09-23-local-first-expo-legend-state.mdx b/apps/www/_blog/2024-09-23-local-first-expo-legend-state.mdx
index 26c925fcd19..a293d1694eb 100644
--- a/apps/www/_blog/2024-09-23-local-first-expo-legend-state.mdx
+++ b/apps/www/_blog/2024-09-23-local-first-expo-legend-state.mdx
@@ -67,7 +67,7 @@ The main dependencies you need are [Legend State](https://www.npmjs.com/package/
Install the required dependencies via `expo install`:
```bash
-npx expo install @legendapp/state @supabase/supabase-js react-native-get-random-values @react-native-async-storage/async-storage
+npx expo install @legendapp/state@beta @supabase/supabase-js react-native-get-random-values @react-native-async-storage/async-storage
```
## Configuring Supabase
@@ -169,7 +169,7 @@ This will create a new SQL migration file in the `supabase/migrations` directory
create table todos (
id uuid default gen_random_uuid() primary key,
counter bigint generated by default as identity,
- text text check (char_length(text) > 3),
+ text text,
done boolean default false,
created_at timestamptz default now(),
updated_at timestamptz default now(),