Skip to content
Back to skills

Seed Database

ASecurity

Seed the local development database with fixture data (org, user, models, subscription). Use when you need test data or login credentials.

  • 33 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 20, 2026
ai-agentsbashtestingdatabasebackend

Security analysis

A100/100

Scanned September 20, 2026

npx -y skills add ayunis-core/ayunis-core --skill seed-database --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Seed Database?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Seed Database
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ayunis-core-seed-database/badge)](https://www.skillsdirectory.com/skills/ayunis-core-seed-database)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: seed-database
description: Seed the local development database with fixture data (org, user, models, subscription). Use when you need test data or login credentials.
---

# Seed Database

Populate the local dev database with minimal fixture data for development and testing.

## Commands

Run from `ayunis-core-backend/`:

| Command | Description |
|---|---|
| `pnpm run seed:minimal:ts` | Upsert fixture data (idempotent — skips existing rows) |
| `pnpm run seed:clean:ts` | Truncate all tables first, then seed |

The `:ts` variants run from source; the non-`:ts` variants run from `dist/` (requires a build).

## What Gets Seeded

Defined in `src/db/fixtures/minimal.fixture.ts`:

| Entity | Key values |
|---|---|
| **Org** | `Demo Org` |
| **User** | `admin@demo.local` / `admin` — Admin + Super Admin, email verified |
| **Language model** | `eu.anthropic.claude-sonnet-4-6` (Bedrock) — streaming, tools, vision |
| **Embedding model** | `text-embedding-3-large` (OpenAI) — 1536 dimensions |
| **Subscription** | 5 seats, €10/seat, monthly renewal |
| **Permitted models** | Language model (default), embedding model |

## Default Login Credentials

```text
Email:    admin@demo.local
Password: admin
```

## Prerequisites

The database must be running. Check with:

```bash
./dev status
```

If infrastructure isn't up, see the `dev-environment` skill.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…