Commit 48c8eeae authored by Shakarim Sapa's avatar Shakarim Sapa

- Add the migration for blog bids table

parent e70a0a50
<?php
use yii\db\Migration;
class m160425_145532_create_blog_bids_table extends Migration
{
public function up()
{
$this->createTable('blog_bids', [
'id' => $this->primaryKey(),
'email' => $this->string(255)->notNull(),
'date' => $this->dateTime()->notNull()
]);
}
public function down()
{
$this->dropTable('blog_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