title: Data migration transferring from old table into new table, with Laravel 5
body: <p>Is it possible to copy data from old table into new table? We are planning a major database re-arrangement passing all datas to the current table to a newly created 
  table.</p>
  
  <p>We realized that it would be easy to handle the datas for newsfeeds and etc. here's my migration:</p>
  
  <pre><code>/*students table*/
  
      public function up()
          {
              Schema::create('students', function (Blueprint $table) {
                  $table-&gt;increments('id');
                  $table-&gt;string('lname');
                  $table-&gt;string('mname')-&gt;nullable();
                  $table-&gt;string('fname');
                  $table-&gt;char('gender', 1);
                  $table-&gt;date('date_of_birth');
                  $table-&gt;string('address');
                  $table-&gt;tinyInteger('yr_lvl');
                  $table-&gt;string('contact_no');
                  $table-&gt;text('about_me')-&gt;nullable();
                  $table-&gt;text('education')-&gt;nullable();
                  $table-&gt;text('achievements')-&gt;nullable();
                  $table-&gt;text('seminars')-&gt;nullable();
                  $table-&gt;text('organizations')-&gt;nullable();
                  $table-&gt;tinyInteger('status')-&gt;default(1);
                  $table-&gt;timestamps();
              });
          }
  
      /*newly created table works*/
      Schema::create('works', function (Blueprint $table) {
                  $table-&gt;increments('id');
                  $table-&gt;integer('student_id')-&gt;unsigned()-&gt;nullable();
                  $table-&gt;foreign('student_id')-&gt;references('id')-&gt;on('students')-&gt;onDelete('cascade');
                  $table-&gt;text('about_me')-&gt;nullable();
                  $table-&gt;timestamps();
              });
  </code></pre>