4bf42036
Alexey Boroda
-Modals ready
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<?php
use yii\db\Migration;
class m161228_143500_language extends Migration
{
public function up()
{
$this->createTable('language', [
'language_id' => $this->primaryKey(),
'url' => $this->string(),
'local' => $this->string(),
'name' => $this->string(),
'default' => $this->boolean(),
'date_create' => $this->integer(),
'date_update' => $this->integer(),
]);
}
public function down()
{
$this->dropTable('language');
}
}
|