7c26670f4d
Fixed several typos and grammar errors ( #19639 )
2022-10-22 15:35:53 +02:00
9bcc8c8e83
update links (en) ( #19222 )
...
Co-authored-by: Bizley <pawel@positive.codes>
2022-02-12 17:43:48 +01:00
31ca0fcb6f
Fix #18676 : Added method yii\helpers\BaseFileHelper::changeOwnership()
and properties newFileMode
/newFileOwnership
in yii\console\controllers\BaseMigrateController
...
Co-authored-by: Bizley <pawel@positive.codes>
2021-05-30 19:26:15 +03:00
1d514e2ded
Revert "Fix anchors in docs ( #18344 )"
...
This reverts commit 0f4b147352f2524f2a1530d419d13a8c8acd5069.
2020-11-05 14:14:35 +03:00
0f4b147352
Fix anchors in docs ( #18344 )
2020-11-01 17:51:16 +03:00
e50a07c30c
Fix #17437 : Fixed generating namespaced migrations
2019-07-23 17:28:43 +03:00
71c541773f
PHPDoc fix
2018-01-23 13:17:25 +02:00
65f6b59b35
@inheritdoc
notation changed
2018-01-23 13:11:24 +02:00
516660774c
📖 make warning about AR in migrations more noticeable [skip ci] ( #15372 )
2017-12-16 20:55:36 +03:00
a3cd99d77d
#14664 : Adjusted description of "migrate/fresh" in the guide [skip ci]
2017-11-03 21:39:30 +03:00
f2e3312dbc
fix typo
2017-08-24 10:42:57 +02:00
c70f274ca5
added example to db migration query builder usage
2017-08-24 10:41:14 +02:00
58792cdac5
Fixes #14664 : Add migrate/fresh command to truncate database and apply migrations again
2017-08-20 01:00:41 +03:00
37bd0229ad
fixed migration example in guide
...
do not register the `app\migrations` path twice when using namespaces.
fixes #14536
2017-07-28 12:35:44 +02:00
6ec6f8d76c
moved include file logic to separate method
2017-06-02 13:35:45 +02:00
5288577221
make migrationPath accept an array
2017-06-02 13:35:45 +02:00
cb9462b224
Added support for specifying aliases for migrationNamespaces
...
This is used to specify pathes to migrations that do not have
namespaces.
While not directly supported by the migration command provideded by the
framework, these migrations exist in a lot of extensions because custom implementations
of migration controllers out of the framework were using this approach
to load multiple migrations from multiple paths.
Even the framework itself currently ships non-namespaced migrations:
- 17a1d91e4a/framework/rbac/migrations/m140506_102106_rbac_init.php
- 17a1d91e4a/framework/caching/migrations/m150909_153426_cache_init.php
- 17a1d91e4a/framework/log/migrations/m141106_185632_log_init.php
This change allows existing applications to adopt the new namespace-based approach
while keeping existing migrations. While it would be possible to add
namespaces to migrations in the application itself, it is not easily possible
to add namespaces to migrations that come from external sources like
extensions.
2017-06-02 13:34:34 +02:00
618f61fafe
Update db-migrations.md ( #14113 ) [skip ci]
...
I made a typo. Sorry. The command migration-rbac, migrationPath property already exists.
2017-05-04 22:23:39 +03:00
6a28353a97
Update db-migrations.md ( #14109 ) [skip ci]
...
By default, the class BaseMigrateController property migrationPath is assigned the value '@app/migrations'. In the method getNewMigrations() is the conversion migrationNamescpaces in the path to the file and merges it all into a single array along with the path migrationPath. If the project for migration module is a separate table in the database, all migration came from migrationPath are not initialized and therefore try to migrate. Therefore, it is necessary to specify the property 'migrationPath' => null.
2017-05-04 16:03:15 +02:00
2e32e97c02
fix anchor
...
http://www.yiiframework.com/doc-2.0/guide-db-migrations.html#creating-migrations
2017-02-16 23:30:45 +03:00
72a690216a
Fixes #13466 : Added info about generating migration which adds multiple columns at once [skip ci]
2017-02-01 01:17:27 +03:00
25a7ed60e7
Docs about namespaced migrations fixed
2017-01-10 14:22:50 +02:00
11f8078ec4
docs/guide/db-migrations.md readability improved [skip ci]
2017-01-07 10:43:27 +09:00
7be8ccbb41
All words in h3 in docs must start with capital letter ( #13207 )
2016-12-14 12:44:15 +01:00
a1581329cf
Fixes #13183 : Docs for working with separated migrations ( #13201 )
2016-12-14 13:19:43 +03:00
4f89265fff
Fixes #12748 : Migration generator now tries to fetch reference column name for foreignKey from schema if it's not set explicitly
2016-11-01 02:02:16 +03:00
fda4fccbb9
fix pull !11207 does not update db migrations guide
2016-09-23 12:09:14 +08:00
685f16e8ef
📖 Updated guide pages - wrap true, false, null
2016-09-20 10:49:15 +03:00
07642098c0
Update db-migrations.md [skip ci] ( #11886 )
2016-07-04 13:11:34 +03:00
5992eea571
Fixes #11808 : _table
and _column
suffixes are now required when generating migration
2016-07-04 12:50:37 +03:00
b9bff5f681
Correct links for migration database accessing methods. ( #11669 ) [skip ci]
2016-06-06 20:49:28 +02:00
48bcee6fc3
Doc translation es ( #11597 )
...
* Added glossary to Spanish translation
* Some spanish translation updates
* DB Migrations Spanish Docs [skip ci]
* Fix line break in english doc [skip ci]
2016-05-19 23:44:45 +03:00
f288747e95
Fixes #6904 : Added reference to webshell extension from mirations guide
2016-04-30 21:49:54 +03:00
a9d18f581f
Added new comment methods to mirgrations docs
2016-04-28 14:22:03 +03:00
928d095c1b
[docs] [skip ci] the name method default() is incorrect ( #11361 )
2016-04-16 12:55:27 +03:00
49aec24ae1
Enh: Migrate command now supports foreign keys
...
Fixes #11207 : migrate command can create foreign keys
2016-04-05 01:02:52 +03:00
0d0e88bd2e
Fix method [skip ci]
2016-03-26 02:52:02 +01:00
7639aee21e
fix dcos [skip ci]
2016-02-22 03:02:34 +01:00
dc13fd8cfe
fix docs [skip ci]
2016-02-19 21:37:02 +01:00
997dfa3e11
review guide and UPGRADE file
2016-02-12 15:56:54 +01:00
93e2803c49
Fixed typo in docs [skip ci]
2016-01-29 12:01:40 +06:00
2a1764f97a
Enhancements for #9465
2015-11-23 13:33:26 +03:00
6c2702eec2
Fix name migration class [skip ci]
2015-11-21 12:00:11 +01:00
f03808a7c8
Additional fixes for #9465
2015-11-20 23:04:29 +03:00
76e8556d34
#9465 better naming, code polish, changelog, docs wording
2015-11-20 22:50:32 +03:00
9afd240ab6
Fixes #9465 : ./yii migrate/create now generates code based on migration name and --fields
2015-11-20 22:08:47 +03:00
a50f444559
Updated link to current statements of mysql
2015-11-20 10:47:10 +03:00
578772d3cd
fixed a sentence [ci skip]
2015-09-03 07:15:15 +09:00
3915df20b8
docs/guide/db-migrations.md small fixes [ci skip]
2015-09-02 23:48:37 +09:00
9c930e34c0
Fix code style and delete declaration of yii\db\Schema [skip ci]
2015-08-26 00:07:21 +02:00