Answers.Body: <p>This looks like a supertable setup, if I'm not mistaken. If you go to the settings menu for the Supertable plugin (assuming you have it installed) there should be some push button tools for fixing/cleaning up the database. Give those a try</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-04-14T09:08:30.783Z
Answers.Text: Lifesaver. Thank you.
Answers.UserDisplayName: JMKelley
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-04-13T17:48:35.520Z
Answers.LastActivityDate: 2023-04-13T17:48:35.520Z
Answers.UserDisplayName: cherrykoda
Body: <p>I'm getting the following error when migrating the project folder over to my live environment. Never had this before and unsure what to do.</p>
  <pre><code>error: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'gifdb.stc_18_button' doesn't exist
  The SQL being executed was: ALTER TABLE `stc_18_button` ADD `field_buttonLink_golezhqt` text
  </code></pre>
  <p>Things I've tried:</p>
  <ul>
  <li>Rebuilding the Config on my Local</li>
  <li>Restoring the DB and Trying Again</li>
  </ul>
  <p>Still get this error.</p>
  <p>Could this be down to the latest update and supertable? Or both?</p>
  <p>Both Craft CMS 4.4.7</p>
  
Tags: <migration><craft4>
Title: Error when Project.yaml Migration from Local
ThreadText: # Error when Project.yaml Migration from Local
  
  (Asked by: username_0 on 2023-04-13)
  
  I'm getting the following error when migrating the project folder over to my live environment. Never had this before and unsure what to do.
  
  ```
  error: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'gifdb.stc_18_button' doesn't exist
  The SQL being executed was: ALTER TABLE `stc_18_button` ADD `field_buttonLink_golezhqt` text
  
  ```
  
  Things I've tried:
  
  * Rebuilding the Config on my Local
  * Restoring the DB and Trying Again
  
  Still get this error.
  
  Could this be down to the latest update and supertable? Or both?
  
  Both Craft CMS 4.4.7
  
  **Tags:** migration, craft4
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-04-13. Score: 3 | Accepted answer
  
  This looks like a supertable setup, if I'm not mistaken. If you go to the settings menu for the Supertable plugin (assuming you have it installed) there should be some push button tools for fixing/cleaning up the database. Give those a try
  
  > **Comments:**
  > **username_0**: Lifesaver. Thank you.  
  
  ---
  
  