title: Add new columns to existing table in a migration in Laravel
body: <p>I want to add some new columns in my existing table <code>users</code> in laravel.</p>
  
  <p>I have already googling for that and following those search I have already created migration using the command <code>php artisan make:migration add_columns_to_users</code>.</p>
  
  <p><strong>add_columns_to_users.php</strong></p>
  
  <pre><code>public function up()
  {
      Schema::table('users', function($table) {
          $table-&gt;string('address');
          $table-&gt;string('city');
          $table-&gt;string('tribe');
          $table-&gt;string('country');
          $table-&gt;integer('student_id');
          $table-&gt;string('tribe_university_name');
          $table-&gt;string('student_program_of_study');
          $table-&gt;string('faculty');
          $table-&gt;string('level');
      });
  }
  
  public function down()
  {
      Schema::table('users', function($table) {
          $table-&gt;dropColumn('address');
          $table-&gt;dropColumn('city');
          $table-&gt;dropColumn('tribe');
          $table-&gt;dropColumn('country');
          $table-&gt;dropColumn('student_id');
          $table-&gt;dropColumn('tribe_university_name');
          $table-&gt;dropColumn('faculty');
          $table-&gt;dropColumn('level');
      });
  }
  </code></pre>
  
  <p>After creation, I run this command <code>php artisan migrate</code>. </p>
  
  <p>But got the same error:</p>
  
  <blockquote>
    <p>Base table or view already exists: 1050 Table 'users' already exists (SQL: create table <code>users</code> (<code>id</code> int unsigned not null auto_increment primary key, <code>name</code> varchar(255) not null, <code>email</code> varchar(255) not null, <code>password</code> varchar(255) not null, <code>remember_token</code> varchar(100) null, <code>created_at</code> timestamp null, <code>updated_at</code> timestamp null) default character set utf8 collate utf8_unicode_ci)</p>
  </blockquote>
  
  <p>Full name of user table <code>2014_10_12_000000_create_users_table.php</code> and the other name is <code>2019_04_11_074552_add_column_to_users.php</code></p>
  
  <p>How to solve this?</p>
  
  <p>My main query is <strong>How to add new columns in my existing table?</strong></p>