Skip to content

Commit

Permalink
fix migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
ZAYEC77 committed Oct 23, 2016
1 parent cb0e70a commit 1370c23
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 9 deletions.
6 changes: 4 additions & 2 deletions src/migrations/m000000_000003_create_cms_tables.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
<?php

namespace nullref\cms\migrations;

use nullref\core\traits\MigrationTrait;
use yii\db\Migration;
use yii\db\Schema;

class m000000_000003_create_cms_tables extends Migration
{
use \nullref\core\traits\MigrationTrait;
use MigrationTrait;

protected $tables = [
'page' => '{{%cms_page}}',
Expand Down
6 changes: 4 additions & 2 deletions src/migrations/m000000_000004_add_block_name.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
<?php

namespace nullref\cms\migrations;

use nullref\core\traits\MigrationTrait;
use yii\db\Migration;
use yii\db\Schema;

class m000000_000004_add_block_name extends Migration
{
use \nullref\core\traits\MigrationTrait;
use MigrationTrait;

public function up()
{
Expand Down
6 changes: 4 additions & 2 deletions src/migrations/m000000_000005_fix_convention.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
<?php

namespace nullref\cms\migrations;

use nullref\core\traits\MigrationTrait;
use yii\db\Migration;
use yii\db\Schema;

class m000000_000005_fix_convention extends Migration
{
use \nullref\core\traits\MigrationTrait;
use MigrationTrait;

protected $tables = [
'page' => '{{%cms_page}}',
Expand Down
2 changes: 2 additions & 0 deletions src/migrations/m000000_000006_add_columns_to_cms_page.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

namespace nullref\cms\migrations;

use yii\db\Migration;

class m000000_000006_add_columns_to_cms_page extends Migration
Expand Down
7 changes: 4 additions & 3 deletions src/migrations/m000000_000007_remove_not_need_columns.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<?php

namespace nullref\cms\migrations;

use nullref\core\traits\MigrationTrait;
use yii\db\Migration;
use yii\db\Schema;

class m000000_000007_remove_not_need_columns extends Migration
{
use \nullref\core\traits\MigrationTrait;

use MigrationTrait;

public function up()
{
Expand Down

0 comments on commit 1370c23

Please sign in to comment.