All Versions
30
Latest Version
Avg Release Cycle
78 days
Latest Release
948 days ago
Changelog History
Page 3
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