From 2e32e97c0263f82b9c025cb3cb38f73526f7edb7 Mon Sep 17 00:00:00 2001 From: Roman Grinyov Date: Thu, 16 Feb 2017 23:30:45 +0300 Subject: [PATCH] fix anchor http://www.yiiframework.com/doc-2.0/guide-db-migrations.html#creating-migrations --- docs/guide/db-migrations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/db-migrations.md b/docs/guide/db-migrations.md index 09fcc4847b..9a283be0a0 100644 --- a/docs/guide/db-migrations.md +++ b/docs/guide/db-migrations.md @@ -136,7 +136,7 @@ class m150101_185401_create_news_table extends Migration The base migration class [[yii\db\Migration]] exposes a database connection via the [[yii\db\Migration::db|db]] property. You can use it to manipulate the database schema using the methods as described in -[Working with Database Schema](db-dao.md#working-with-database-schema-). +[Working with Database Schema](db-dao.md#database-schema). Rather than using physical types, when creating a table or column you should use *abstract types* so that your migrations are independent of specific DBMS. The [[yii\db\Schema]] class defines