Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- use Illuminate\Database\Migrations\Migration;
- use Illuminate\Database\Schema\Blueprint;
- use Illuminate\Support\Facades\Schema;
- class CreateUsersTable extends Migration
- {
- /**
- * Run the migrations.
- *
- * @return void
- */
- public function up()
- {
- Schema::table('WebUser', function (Blueprint $table) {
- $table->rememberToken();
- $table->string('Code');
- $table->string('Login');
- $table->string('Name');
- $table->string('Password');
- $table->string('Role');
- $table->string('Owner');
- $table->string('Company');
- });
- }
- /**
- * Reverse the migrations.
- *
- * @return void
- */
- public function down()
- {
- Schema::table('WebUser', function (Blueprint $table) {
- $table->dropColumn('remember_token');
- });
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement