Commit Graph

24 Commits

Author SHA1 Message Date
Klimov Paul
60307c118b code style fix 2016-09-12 14:43:46 +03:00
Klimov Paul
8c39b1cbfa code style fix 2016-09-12 14:41:05 +03:00
Paul Klimov
8aa0e85a07 Add migration namespace support (#12511)
namespace support added to `BaseMigrateController`
2016-09-12 14:01:04 +03:00
SilverFire - Dmitry Naumenko
8ec60e3d9b Merge branch '12423-migration-tool' of https://github.com/pana1990/yii2 into pana1990-12423-migration-tool 2016-09-11 21:17:43 +03:00
Daniel Gomez Pan
ae42d7b281 Fix #12423 Fix bug migration tool when creating fields with brackets in comment 2016-09-11 18:03:09 +02:00
Klimov Paul
d73d155e43 code style fix 2016-09-09 14:59:11 +03:00
Nikola Kovacs
84124bec4f Fix grammar in migration template docblocks. (#12148)
Fix typo in test file's name.
2016-08-12 17:55:43 +03:00
Daniel Gómez Pan
83496853c8 Fixes #11461: Fixed migration tool error when create migrate with comma in defaultValue 2016-07-28 01:15:55 +03:00
Robert Korulczyk
5992eea571 Fixes #11808: _table and _column suffixes are now required when generating migration 2016-07-04 12:50:37 +03:00
Angel Guevara
fdbf7d85a1 Simple tests (#11606)
* method to simplify migrate/create tests
* use new assertion for all migration/create tests
* move the expected files to test/data/console
2016-05-24 09:35:23 +03:00
Angel Guevara
b923adf75c Enh: Support for useTablePrefix parameter in migrate command
Fixes #11166: migrate command new option `useTablePrefix`
2016-04-06 13:37:37 +03:00
Angel Guevara
49aec24ae1 Enh: Migrate command now supports foreign keys
Fixes #11207: migrate command can create foreign keys
2016-04-05 01:02:52 +03:00
Angel Guevara
3cbd64547a Additional phpdoc for #11187 2016-03-27 23:38:23 +03:00
Alexander Makarov
4cb0c1b55c Fixed tests 2016-03-25 14:08:56 +03:00
Daniel Gomez Pan
9b94dbfe38 Merge remote-tracking branch 'upstream/master' into 10969-fix-migration 2016-02-26 15:58:17 +01:00
Daniel Gomez Pan
03cb361a59 Fixed #10969: add more tests 2016-02-26 15:57:41 +01:00
Daniel Gomez Pan
921b102961 Fixed #10969: generator migration tool not works with decimal params in column 2016-02-26 03:34:03 +01:00
Vladimir Khramov
8db7df9352 replace all occurrences of migration class 2016-02-26 10:04:24 +10:00
Daniel Gomez Pan
c5eebe1a00 Fix test for migration 2015-11-25 10:56:53 +01:00
Daniel Gomez Pan
0b950f4039 Fix phpdocs and small bug 2015-11-24 20:03:09 +01:00
Daniel Gomez Pan
2a1764f97a Enhancements for #9465 2015-11-23 13:33:26 +03:00
Alexander Makarov
76e8556d34 #9465 better naming, code polish, changelog, docs wording 2015-11-20 22:50:32 +03:00
Daniel Gomez Pan
9afd240ab6 Fixes #9465: ./yii migrate/create now generates code based on migration name and --fields 2015-11-20 22:08:47 +03:00
Alexander Makarov
6949992246 Simplified tests directory structure a bit 2015-04-16 12:10:01 +03:00