<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>

CC BY-SA 4.0
2023-04-14T09:08:30.783Z
Lifesaver. Thank you.
JMKelley
CC BY-SA 4.0
2023-04-13T17:48:35.520Z
2023-04-13T17:48:35.520Z
cherrykoda
<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>

<migration><craft4>
Error when Project.yaml Migration from Local
# 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.  

---

