Skip to content

Commit 78f0ffd

Browse files
author
igor-chepurnoi
committed
remove namespaces from migrations
1 parent 36e9d20 commit 78f0ffd

6 files changed

+1
-11
lines changed

.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
language: php
22

33
php:
4-
- 5.5
54
- 5.6
65
- 7.0
76

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Configuration
3636

3737
Before using Comments Widget, we'll also need to prepare the database.
3838
```php
39-
php yii migrate 'yii2mod\\comments\\migrations'
39+
php yii migrate --migrationPath=@vendor/yii2mod/yii2-comments/migrations
4040
```
4141

4242
**Module setup**

migrations/m010101_100001_init_comment.php

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22

3-
namespace yii2mod\comments\migrations;
4-
53
use yii\db\Migration;
64

75
/**

migrations/m160629_121330_add_relatedTo_column_to_comment.php

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22

3-
namespace yii2mod\comments\migrations;
4-
53
use yii\db\Migration;
64

75
/**

migrations/m161109_092304_rename_comment_table.php

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
namespace yii2mod\comments\migrations;
4-
5-
use Yii;
63
use yii\db\Migration;
74

85
class m161109_092304_rename_comment_table extends Migration

migrations/m161114_094902_add_url_column_to_comment_table.php

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22

3-
namespace yii2mod\comments\migrations;
4-
53
use yii\db\Migration;
64

75
/**

0 commit comments

Comments
 (0)