title: General error: 3730 Cannot drop table 'questionnaires' referenced by a foreign key constraint (SQL: drop table if exists `questionnaires`) Laravel
body: <p>I have a problem when I rollback my boards. It is as follows:</p>
  <pre><code>SQLSTATE[HY000]: General error: 3730 Cannot drop table 'questionnaires' referenced by a foreign key constraint 'questions_questionnaire_id_foreign' on table 'questions'. (SQL: drop table if exists `questionnaires`)
  </code></pre>
  <p>For this I have 2 tables involved, which is Questionnaire and Question.</p>
  <p><code>Question</code></p>
  <pre><code>lass CreateQuestionsTable extends Migration{
    public function up(){
      Schema::create('questions', function (Blueprint $table) {
        $table-&gt;id();
        $table-&gt;unsignedBigInteger('questionnaire_id');
  
        $table-&gt;text('description');
        $table-&gt;text('iframe');
        $table-&gt;text('image')-&gt;nullable();
        $table-&gt;timestamps();
      });
    }
  
    public function down(){
      Schema::table('questions', function (Blueprint $table) {
        $table-&gt;dropColumn('questionnaire_id');
        $table-&gt;dropForeign('questions_questionnaire_id_foreign');
      });
      Schema::dropIfExists('questions');
    }
  }
  </code></pre>
  <p><code>Questionnaire</code></p>
  <pre><code>class CreateQuestionnairesTable extends Migration{
    public function up(){
      Schema::create('questionnaires', function (Blueprint $table) {
        $table-&gt;id();
        $table-&gt;unsignedBigInteger('user_id');
        $table-&gt;string('title');
        $table-&gt;string('description');
        $table-&gt;timestamps();
      });
    }
  
    public function down(){
      Schema::dropIfExists('questionnaires');
    }
  }
  </code></pre>
  <p>And then add the questionnaire FK to the question table. Alter table</p>
  <pre><code>class AddToQuestionnaireIdToQuestionsTable extends Migration{
    public function up(){
      Schema::table('questions', function (Blueprint $table) {
        $table-&gt;foreign('questionnaire_id')-&gt;references('id')-&gt;on('questionnaires')
          -&gt;onDelete('cascade')
          -&gt;onUpdate('cascade');
      });
    }
    public function down(){
      Schema::dropIfExists('questions');
    }
  }
  </code></pre>
  <p>However when I rollback I get the aforementioned error. What am I doing wrong?</p>