This repository has been archived by the owner on Oct 15, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add migrator console * Add but more documentation * fix up readme * schema should not depend on development packages * develop to require develop versions * fix alter field * add drop field * add comment * add changelog * fix version requirement * Update composer.json * Update composer.json * Update composer.json * Update BasicTest.php * Update SchemaTestcaseTest.php * Update phpunit.xml * Update .travis.yml * Update phpunit.xml * Update SchemaTestcaseTest.php * Update phpunit.xml * Update SchemaTestcaseTest.php * Update .travis.yml * Update .travis.yml * Update .travis.yml * Update SchemaTestcaseTest.php * move abstract testcase to tests * Apply fixes from StyleCI * enable debug * Apply fixes from StyleCI * move * fix dsn * proper dsn * Update README.md * globals * Apply fixes from StyleCI * work on dsn * Apply fixes from StyleCI * ouch * include both tests - sqlite and mysql * fix * fix types * disable unsupported test * add comment * remove debug * fix codeclimate config * fix escape_char * debug * Apply fixes from StyleCI * crap * PostGre suppport * set max_connections * support PostGreSQL starting from v.10 only * get rid of connection * Update .codeclimate.yml * add support for changing field name * Apply fixes from StyleCI * Update Migration.php * add rename table support * Extend to all DataType options with PHPUnit Tests * add transcode table for field type => datatype database * tested on SQLite and MySQL * Change default Type from VARCHAR256 to TEXT more space is better than less, this class is very useful during development, after that will be disabled and database must be optimized with other tools. i changed because i had a problem storing serialized EXIF in array datatype * drop php 5.6 support * Add transcoding for Field Reference_One climate error correction * Reformatting and change variables name switch to codeformatting PSR-1,PSR-2 add hasOne in Test * add creation of file models class via console to "reverse engineering" DB fixed mysql float was mistyped uppercase * Add Doc for function createModelFromTable * Adjust naming for transcodes on SQLite * add hasOne detect field type * Remove some editor autoadd - f... phpstorm * format code in ->getTranscodeTypeKeyFromField * compatibility with new data namespace * Apply fixes from StyleCI * better handling of text, array and object fields. also fix few others. * Apply fixes from StyleCI * add type options * added changelog * working on version dependencies * for development branch we need development dependencies * make types easier to extend and improve PgSQL types support * Apply fixes from StyleCI * more dependencies and easier to extend migrator console * oops * no need for this anymore * implements factory method getMigration, uses connection->driver, few changes in phpunit test suite, more tests * Apply fixes from StyleCI * change docs * Better PostgreSQL support * fix datetime mess * typo * use getFields() in Model rather than hack through elements * Composer - Drop PHP < 7.2 * Big refactor * Merge remote-tracking branch 'remotes/atk4/develop' into add-type-transcoding * StyleCi * StyleCi 1 * remove php < 7.2 from travis * Removed function for creation of Model File * Refactor variable names and removed extra line * Refactor 1 comment to be consistent with the others below * Add support for GitHub actions (#17) * Add GitHub Action support * disable travis * tweak bundler * wip * wip * wip * Update unit-tests.yml * Apply fixes from StyleCI * Add test case (#21) * separate wf and local tests * fix host * better testcase * Apply fixes from StyleCI * Fix english plural (#28) * Fix changes count for empty type (#32) * Improve column creation - add not-null and unsigned for int refs option (#29) * Fix nullable for references (#34) * Fix CS to PSR-12 (#35) * Change CS config to PSR-12 * Change CS to PSR-12 - fix errors by phpcbf Command: php vendor\squizlabs\php_codesniffer\bin\phpcbf * Apply fixes from StyleCI * Feature/release mechanics (#36) * add require-release * Update bundler.yml * Update bundler.yml * Update composer.json * Update bundler.yml * Update bundler.yml * Update composer.json * Update composer.json * Update bundler.yml * Update composer.json * Setting release dependencies * fix bad merge, code duplication Co-authored-by: Romans Malinovskis <me@nearly.guru> Co-authored-by: Imants Horsts <DarkSide666@users.noreply.github.com> Co-authored-by: Francesco Danti <fdanti@gmail.com> Co-authored-by: Michael Voříšek <mvorisek@mvorisek.cz> Co-authored-by: GitHub Web Flow <noreply@github.com>
- Loading branch information