Skip to content

Commit

Permalink
Add warning for serial types in Supabase schema
Browse files Browse the repository at this point in the history
  • Loading branch information
mmvergara committed Jun 23, 2024
1 parent bd82870 commit 9155518
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.MD
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Supabase Schema to Dart Classes 🎯

Typesafe queries in Supabase Flutter! <br/>
Generate Flutter / Dart 🎯 classes from your Supabase schema.

Expand Down Expand Up @@ -35,6 +36,8 @@ Generate Flutter / Dart 🎯 classes from your Supabase schema.

#### if you have serial types you need to add a comment to the column like this,

serial types in general are not available in supabase table editor afaik, so if you did not add them manually via sql editor you probably dont have them.

```sql
COMMENT ON COLUMN test_table.bigserialx IS 'serial';
COMMENT ON COLUMN test_table.smallserialx IS 'serial';
Expand Down

0 comments on commit 9155518

Please sign in to comment.