hanami / hanami/roadmap

Create first class database management APIs in hanami-db

Open
#9 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
No language data
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Right now all the methods for creating, migrating, deleting, etc. databases are spread across the various commands in Hanami-CLI.

We should make these real public APIs in the Hanami DB gem, and keep the db commands in the CLI as slim as possible, simply calling into these APIs.

At th same time time, we should look at directly talking to the database engine where possible, rather than shelling out to the database client CLIs (eg calling createdb and friends in Postgres’ case). Wrapping the ClIs is brittle, error prone and overly complicated to implement.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.