Created
November 12, 2017 08:06
-
-
Save Cyberiaaxis/f66ba9bb7e9bfa2312a90ae4ce70122a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function up() | |
{ | |
Schema::create('topics', function (Blueprint $table) { | |
$table->increments('id'); | |
$table->string('title')->nullable(); | |
$table->string('duration')->nullable(); | |
$table->timestamps(); | |
$table->softDeletes(); | |
$table->index(['deleted_at']); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment