# Drift databases for Dart

> Builds and migrates Drift SQLite or Postgres databases in Dart server and CLI apps, so your data stays safe.

- Page: https://youraiskill.com/skill/madteacher-dart-drift
- What it does: Build, fix, audit, and migrate Drift persistence in Dart CLI, server-side, and non-Flutter desktop apps. Use when adding SQLite with package:drift/native.dart, configuring PostgreSQL with drift_postgres and package:postgres, writing type-safe tables, queries, writes, streams, and migrations, resolving build_runner or drift_dev failures, or validating Dart database code with code generation, analysis, tests, and migration checks.
- Niches: databases, backend
- Licence: MIT
- Status: Checked: open licence, author credited, passed the YourAISkill safety scan. Can be added to a paid pack.
- Contents: instructions plus scripts (9 files)

To add it, see https://youraiskill.com/guides/how-to-add-a-skill-to-claude
