schema_dart 0.0.5 copy "schema_dart: ^0.0.5" to clipboard
schema_dart: ^0.0.5 copied to clipboard

Generate dart type definitions from PostgreSQL database schema.

example/README.md

The sample output was generated for the auth schema of supabase with following command:

  • From the project root directory, run:
dart bin/schema_dart.dart -c postgresql://postgres:postgres@localhost:54322/postgres -o example/sample_output -s auth 

Note: make sure supabase start is running.