All Versions
30
Latest Version
Avg Release Cycle
78 days
Latest Release
948 days ago

Changelog History
Page 3

  • v0.8.0 Changes

    May 02, 2017

    โž• Added

    • json output for all commands
    • migration datetime to Status command
    • column settings class with constants
  • v0.7.0 Changes

    April 06, 2017

    ๐Ÿ”„ Changed

    • ๐Ÿ— move all table methods (addColumn, addIndex, addForeignKey etc) from AbstractMigration to new Element MigrationTable which is now used in Query Builders
    • migration dir in create command is required if there are more then one migration dir registered
    • using serial and bigserial for autoincrement primary keys in pgsql instead of creating and dropping custom sequence

    โž• Added

    • method getSettings to Column
    • column types: tiny integer, small integer and medium integer, double, tinytext, mediumtext, longtext, tinyblob, mediumblob, blob, longblob, binary, varbinary, point, line, polygon

    ๐Ÿ›  Fixed

    • โช wrong order in rollback

    โœ‚ Removed

    • magic method variants addColumn and changeColumn from MigrationTable - possible BC if somebody uses methods addColumn(Column $column) or changeColumn($oldName, Column $column)
  • v0.6.1 Changes

    December 13, 2016

    ๐Ÿ›  Fixed

    • ๐Ÿ‘Œ support for changing column settings (allowNull, default) in pgsql (Thanks to Tibor Mikรณczy)
  • v0.6.0 Changes

    September 26, 2016

    โœ‚ Removed

    • ๐Ÿ—„ deprecated variants of methods addColumn and changeColumn which allowed set all settings individually as parameter

    ๐Ÿ›  Fixed

    • ๐Ÿ”ง load configuration from all default config files (php, yml, neon, json) if no file is set as config option in command

    โž• Added

    • ๐Ÿ‘Œ support for json config file
    • status command - list of migrations already executed and list of migrations to execute
    • โช dry run - execute migrate or rollback command without real executing queries. Commands just print queries which would be executed
    • enum and set column types
  • v0.5.0 Changes

    August 03, 2016

    โž• Added

    • column types date, bigint, float
    • ๐Ÿ‘Œ support for change charset in mysql (per table and also per column)
    • possibility to create custom templates
    • option "first" for migrate command
    • โช option "all" for rollback command
    • simple altering tables for pgsql: changes of column names, types and type casting for columns
    • ๐Ÿ‘Œ support for multi insert
    • ๐Ÿ‘Œ support for multi delete (IN condition)

    ๐Ÿ›  Fixed

    • several bugs in PdoAdapter
    • output for executed queries in commands (Option -vvv)
  • v0.4.0 Changes

    June 13, 2016

    โž• Added

    • ๐Ÿ‘Œ support for yaml and neon configs
    • โช command execution time for each migration / rollback and total execution time
    • method tableInfo for AdapterInterface
    • ๐Ÿ‘Œ support for changing columns in sqlite adapter

    โšก๏ธ Updated

    • composer libraries
  • v0.3.0 Changes

    May 23, 2016

    โž• Added

    • possibility to set custom name for index
    • method drop index by name
    • method select to Adapters
    • โž• added support for using DateTime instances in inserting / updating data

    ๐Ÿ”„ Changed

    • automatically created names of indexes are now: idx_{tablename}{implode('', columns)} - possible BC
    • boolean db type from int to tinyint in mysql
    • minimal version of PHP to 5.6
  • v0.2.0 Changes

    March 02, 2016

    โž• Added

    • possibility to set position for column: after, first
    • method changeColumn to migrations
    • โšก๏ธ insert, update, delete methods

    ๐Ÿ›  Fixed

    ๐Ÿ”„ Changed

    • method Table::addIndex, now it accepts one parameter of type Index
    • method Table::addForeignKey, now it accepts one parameter of type ForeignKey
    • method addColumn accepts: 0๏ธโƒฃ 1. parameters name, type, allowNull, default, length, decimals, signed, autoincrement 0๏ธโƒฃ 1. array with keys: null, default, length, decimals, signed, autoincrement, after, first as 3rd parameter (name and type are still first two parameters)
    • object of type Column as only one parameter
  • v0.1.1 Changes

    February 16, 2016

    โž• Added

    • decimal type for MySQL
    • ๐Ÿ“‡ rename table for all adapters

    ๐Ÿ›  Fixed

    • unsigned for MySQL
  • v0.1.0 Changes

    February 05, 2016
    • first tagged version
    • 3 PDO Adapters: MySQL, PgSQL, SQLite
    • ๐Ÿ‘Œ supported methods in migrations: addColumn, addIndex, addForeignKey, dropColumn, dropIndex, dropForeignKey
    • ๐Ÿ‘Œ supported column types: string, integer, boolean, text, datetime, uuid, json, char

    ๐Ÿš€ [unreleased]: https://github.com/lulco/phoenix/compare/1.10.0...HEAD