Skip to content

Instantly share code, notes, and snippets.

@TiagoSilvaPereira
Last active July 14, 2021 16:57
Show Gist options
  • Save TiagoSilvaPereira/bf6c4be3c126f6ee805ee97777591308 to your computer and use it in GitHub Desktop.
Save TiagoSilvaPereira/bf6c4be3c126f6ee805ee97777591308 to your computer and use it in GitHub Desktop.
Recipe Migration
<?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