Last active
July 14, 2021 16:57
-
-
Save TiagoSilvaPereira/bf6c4be3c126f6ee805ee97777591308 to your computer and use it in GitHub Desktop.
Recipe Migration
This file contains hidden or 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
<?php | |
// ... | |
public function up() | |
{ | |
Schema::create('recipes', function (Blueprint $table) { | |
$table->bigIncrements('id'); | |
$table->string('name'); | |
$table->timestamps(); | |
}); | |
} | |
// ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment