Created
April 24, 2020 18:02
-
-
Save vijayrami/75312545988806286aade7c24d7e2478 to your computer and use it in GitHub Desktop.
laravel Table Schema
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
$table->string('id')->unique(); | |
$table->unsignedInteger('user_id')->nullable(); | |
$table->string('ip_address', 45)->nullable(); | |
$table->text('user_agent')->nullable(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment