Last active
May 24, 2018 15:48
-
-
Save jobcerto/69f7d3979556dee5c8eb451c6a28b5c3 to your computer and use it in GitHub Desktop.
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 | |
Schema::create('posts', function (Blueprint $table) { | |
$table->increments('id'); | |
$table->unsignedInteger('user_id'); | |
$table->string('name'); | |
$table->text('body'); | |
$table->timestamps(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment