schema
schema copied to clipboard
A library for simplifying the creation, update, and field modification of custom tables within WordPress.
After #20 is merged. https://github.com/stellarwp/schema/commit/8d28bdef0bb422c3a9cc68b18e77a0b425db2063 @borkweb Is it PHP 7.4? Why is there PHP 7.0 as current (faked) value?
Started reading the source code ... What coding standard should I follow? Could it be PSR-12? [_a useful frankenstein_](https://github.com/szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset)
`stellarwp/schema` executes few queries on ever run. Would it be possible to run `stellarwp/schema` only on plugin activation/update? (a production WordPress installation works from persistent object cache, with _almost_ no...
Instead of `=== null` write `! instance of StellarForce`. Would you merge that kind of a PR? [_source_](https://github.com/szepeviktor/very-clean-code/blob/master/README.md#-write-positive-conditions)
GiveWP has a UI for migrations. Bringing some semblance of that code over such that it can be used and extended by projects.
Once `1.2.0` is out, we can start looking in to an approach to supporting batch-processing of migration data. It'd be rad to use Action Scheduler under the hood.
Give's [Migrations](https://github.com/impress-org/givewp/tree/develop/src/Framework/Migrations) and the non-UI code for their [MigrationLog](https://github.com/impress-org/givewp/tree/develop/src/MigrationLog) would be a nice addition to Schema. We'll need to migrate that over and convert to WP standards.
[GiveWP's Models](https://github.com/impress-org/givewp/tree/develop/src/Framework/Models) are a nice base implementation. We should migrate that over to and convert to WP standards.
From an code organization standpoint, I like the way Give does that!