(ctx context.Context, relID string)
| 532 | } |
| 533 | |
| 534 | func (s *PostgresStore) deleteAuthRecord(ctx context.Context, relID string) error { |
| 535 | query := fmt.Sprintf("DELETE FROM %s WHERE id = $1", s.fullTableName(s.cfg.AuthTable)) |
| 536 | if _, err := s.db.ExecContext(ctx, query, relID); err != nil { |
| 537 | return fmt.Errorf("postgres store: delete auth record: %w", err) |
| 538 | } |
| 539 | return nil |
| 540 | } |
| 541 | |
| 542 | func (s *PostgresStore) persistConfig(ctx context.Context, data []byte) error { |
| 543 | query := fmt.Sprintf(` |
no test coverage detected