drogonframework / drogonframework/drogon

Migrations

Open
#2,319 6 comments 1 reaction 0 assignees View on GitHub
enhancement good first issue
Dominant language
C++
Stars
14.3k
Forks
1.4k
Avg merge
1d 12h
Merged PRs (30d)
15

Description

I've been exploring different web frameworks, and one thing I truly value about Drogon is its excellent performance. However, I believe there’s room for improvement in the area of database migration tools.

In Rails, for example, commands like rails db:setup are incredibly convenient—it creates the database, loads the schema, and seeds it with initial data. Furthermore, with a single command like rails generate model Author name:string email:string, you can generate both the model and its corresponding migration files automatically.

With Drogon, the alternatives I found typically involve using third-party libraries that rely heavily on raw SQL. This approach can be less maintainable, especially when targeting multiple database systems, as SQL syntax and behavior can vary significantly between databases.

I’d like to contribute to improving this aspect of Drogon, starting with support for PostgreSQL. Once a solid foundation is established, it could be extended to support other databases as well.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.