-
Notifications
You must be signed in to change notification settings - Fork 0
create_qas_table
SpencerChang edited this page Aug 15, 2016
·
1 revision
increments('id');
$table->enum('type', ['other', 'use', 'pay','opinion','comment','refund'])->default('other');
$table->string('question',255);
$table->text('answer');
$table->integer('rank',20);
$table->text('mark');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('qas');
}
}