mirror of
https://github.com/getsentry/self-hosted.git
synced 2025-12-08 19:46:14 +00:00
remove index workaround (#3730)
a hard stop is in place with this so it can be removed now
This commit is contained in:
parent
4276f44a07
commit
ed04842604
@ -10,15 +10,6 @@ if [[ -z "${SKIP_SENTRY_MIGRATIONS:-}" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Using django ORM to provide broader support for users with external databases
|
||||
$dcr web shell -c "
|
||||
from django.db import connection
|
||||
|
||||
with connection.cursor() as cursor:
|
||||
cursor.execute('ALTER TABLE IF EXISTS sentry_groupedmessage DROP CONSTRAINT IF EXISTS sentry_groupedmessage_project_id_id_515aaa7e_uniq;')
|
||||
cursor.execute('DROP INDEX IF EXISTS sentry_groupedmessage_project_id_id_515aaa7e_uniq;')
|
||||
"
|
||||
|
||||
if [[ -n "${CI:-}" || "${SKIP_USER_CREATION:-0}" == 1 ]]; then
|
||||
$dcr web upgrade --noinput --create-kafka-topics
|
||||
echo ""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user