Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- ....
- class CreateUsersTable extends Migration
- {
- public function up()
- {
- Schema::create('users', function (Blueprint $table) {
- $table->increments('id');
- $table->string('name');
- $table->string('email')->unique();
- $table->string('password');
- $table->timestamps();
- });
- }
- ....
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement