Commit a98081e7 authored by Shakarim Sapa's avatar Shakarim Sapa

- Добавление миграций на таблицу подписок на кейсы

parent 6988a38e
<?php
use yii\db\Migration;
class m160428_111651_create_cases_bids extends Migration
{
public function up()
{
$this->createTable('cases_bids', [
'id' => $this->primaryKey(),
'email' => $this->string(255)->notNull(),
'date' => $this->dateTime()->notNull()
]);
}
public function down()
{
$this->dropTable('cases_bids');
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment