Phinx
bytebase.com
Our great sponsors
Phinx | bytebase.com | |
---|---|---|
13 | 84 | |
4,440 | 27 | |
0.3% | - | |
7.9 | 9.9 | |
about 1 month ago | 5 days ago | |
PHP | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Phinx
- How do you manage database structure changes? And deploying code?
-
How do you sync dev databases across multiple devices?
You should look into migrations and seed data. https://phinx.org/ is what I use with no issues.
-
How to add a database structure migration feature to your legacy PHP projects?
I've had success with Phinx, That aside, for many databases, you can throw adminer in there and create SQL exports of the tables, triggers, procedures, etc, and use it as controlled migrations repo.
-
JSON static files vs Database, to save plugins information
If you want to version control your db schema, you could look at a database migration system like phinx. Php frameworks like Laravel do this and it works very nicely.
-
JSON and Virtual Columns in SQLite
I think that for Notion (neat company btw) it might make a lot of sense to keep the schema pretty loose but I have managed to keep an agile DB alive and well with a lot of flexibility. A lot of migration infrastructure packages and tools will store the migration state in the DB itself - we're using Phinx[1] internally which creates a `phinxlog` table with a record of migrations that have been run - there is tooling to migrate only up to a specific version and since the record of all executed versions is stored in the DB the tool can easily figure out what works needs to be done in which circumstances. The result is that we can easily roll different environments onto different versions.
Neither schema driven nor unstructured is always the right call - they both have their strengths and weaknesses - but I think that trust in data integrity is pretty important when writing flexible code on top of a data layer. Knowing that expected keys can't be omitted and that so-and-so column must conform to a given data domain can really alleviate defensive coding costs.
If you'd like to talk some more I can shoot you an email and we can sit down sometime?
1. https://phinx.org/
- Phinx – PHP Database Migrations for Everyone
-
Our Agency's WordPress Workflow
- For more granular on db migration between development and production, I use Phinx (https://phinx.org/). So, development team has no need to touch the GUI via wp dashboard to make any changes. This tool is similar to laravel eloquent, or ruby on rails' active record.
-
Dockerized app problems
We use https://phinx.org/ for db migrations, if that helps in any way. So now I try to solve this and other problems.
-
I would like to have access to the final array in the initial static class
I would also opt for an explicit build call. Also, if you decide it is not worth writing, you could try Phinx (https://phinx.org/), which does migrations very similar to Laravel's. That way you don't have to re-invent the wheel.
- Returning to PHP and web programming after 15 years... is this the way? Or have things changed a lot?
bytebase.com
-
🛡️4 Top Database Security Tools in 2024 🏆🔥
Bytebase is an open-source database DevOps tool, it's the GitLab/GitHub for managing databases throughout the application development lifecycle. It offers a web-based collaboration workspace for DBAs, Developers and platform engineers. It consolidates disparate DB tools such as DBeaver, Liquibase, Flyway into a single place.
-
Version control for queries
Or bytebase.com which has a GUI.
-
🐳Run ClickHouse with Docker and Connect Using MySQL Client☄️
If you like this tutorial, you might also be interested in our product Bytebase, an open-source, web-based schema change management tool, that helps you manage ClickHouse database, supporting SQL review, version control, backup and restore etc...
-
How do you manage your database migrations?
bytebase could be a fit. It provides a GitLab like experience for teams to coordinate database changes.
-
How do you handle schema migrations? Building my own tool
You may check a more modern tool bytebase.com. GUI-based, GitOps native, plus an embedded SQL query tool ...
-
How do you manage database structure changes? And deploying code?
For database structure, you may try bytebase.com, whose GitOps workflow could work for you even for the free version. It also has a GUI to trace and approve changes, a query editor and etc.
- Oracle schema change and version control
What are some alternatives?
Doctrine Migrations - Doctrine Database Migrations Library
bytebase - The GitLab/GitHub for database DevOps. World's most advanced database DevOps and CI/CD for Developer, DBA and Platform Engineering teams.
PHPMig - Simple migrations system for php
Flyway - Flyway by Redgate • Database Migrations Made Easy.
phoenix - Framework agnostic database migrations for PHP.
reshape - An easy-to-use, zero-downtime schema migration tool for Postgres
Migrations - php 5.3 Migration Manager
employee-sample-database - Employee Sample Database for MySQL and Postgres
Ruckusing - Database migrations for PHP ala ActiveRecord Migrations with support for MySQL, Postgres, SQLite
liquibase - Main Liquibase Source
Slim - Slim Framework 4 Skeleton Application
migra - Like diff but for PostgreSQL schemas