cli icon indicating copy to clipboard operation
cli copied to clipboard

feat: add seed command to generate test users

Open kangmingtay opened this issue 3 months ago • 1 comments

What kind of change does this PR introduce?

  • Adds a supabase seed auth command that generates sql examples to add test users and saves them in a seed.example.sql file

What is the current behavior?

Please link any relevant issues here.

What is the new behavior?

Feel free to include screenshots if it includes visual changes.

Additional context

Add any other context or screenshots.

kangmingtay avatar Apr 08 '24 08:04 kangmingtay

Pull Request Test Coverage Report for Build 8597529949

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 133 of 164 (81.1%) changed or added relevant lines in 4 files are covered.
  • 5 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.7%) to 58.569%

Changes Missing Coverage Covered Lines Changed/Added Lines %
internal/db/dump/dump.go 1 2 50.0%
cmd/seed.go 4 12 33.33%
internal/seed/seed.go 127 149 85.23%
<!-- Total: 133 164
Files with Coverage Reduction New Missed Lines %
internal/gen/keys/keys.go 5 11.76%
<!-- Total: 5
Totals Coverage Status
Change from base Build 8574460707: 0.7%
Covered Lines: 6555
Relevant Lines: 11192

💛 - Coveralls

coveralls avatar Apr 08 '24 08:04 coveralls