# UndefinedTable: ERROR: relation "web\_hook\_event\_types" when trying to run rspec test

**URL:** https://meta.discourse.org/t/undefinedtable-error-relation-web-hook-event-types-when-trying-to-run-rspec-test/50497
**Category:** Development
**Created:** [9월 22, 2016, 4:03오후 UTC](https://meta.discourse.org/t/undefinedtable-error-relation-web-hook-event-types-when-trying-to-run-rspec-test/50497 "2016-09-22T16:03:46Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [9월 22, 2016, 5:48오후 UTC](https://meta.discourse.org/t/undefinedtable-error-relation-web-hook-event-types-when-trying-to-run-rspec-test/50497/4 "2016-09-22T17:48:21Z")

</div>

I deleted the `discourse_test` database, went over steps to recreate the database from the [guide to install on Mac](https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-mac-os-x-for-development/15772) and now it’s fixed.

---

_[View the full topic](https://meta.discourse.org/t/undefinedtable-error-relation-web-hook-event-types-when-trying-to-run-rspec-test/50497)._
