https://github.com/binaryscraping/supabase-bodega
https://github.com/binaryscraping/supabase-bodega
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/binaryscraping/supabase-bodega
- Owner: binaryscraping
- Created: 2022-09-23T18:57:37.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-24T13:35:19.000Z (over 3 years ago)
- Last Synced: 2025-01-15T07:57:40.445Z (about 1 year ago)
- Language: Swift
- Size: 12.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# supabase-bodega
A Bodega storage implementation backed by Supabase.
## Getting Started
### Creating PostgreSQL schema
```sql
create table tests (
key text primary key not null,
data text not null,
created_at timestamp with time zone default timezone('utc'::text, now()) not null,
updated_at timestamp with time zone default timezone('utc'::text, now()) not null
);
create trigger handle_updated_at
before update on tests for each row
execute procedure moddatetime (updated_at);
```