Skip to content

Commit ed04842

Browse files
remove index workaround (#3730)
a hard stop is in place with this so it can be removed now
1 parent 4276f44 commit ed04842

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

install/set-up-and-migrate-database.sh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,6 @@ if [[ -z "${SKIP_SENTRY_MIGRATIONS:-}" ]]; then
1010
exit 1
1111
fi
1212

13-
# Using django ORM to provide broader support for users with external databases
14-
$dcr web shell -c "
15-
from django.db import connection
16-
17-
with connection.cursor() as cursor:
18-
cursor.execute('ALTER TABLE IF EXISTS sentry_groupedmessage DROP CONSTRAINT IF EXISTS sentry_groupedmessage_project_id_id_515aaa7e_uniq;')
19-
cursor.execute('DROP INDEX IF EXISTS sentry_groupedmessage_project_id_id_515aaa7e_uniq;')
20-
"
21-
2213
if [[ -n "${CI:-}" || "${SKIP_USER_CREATION:-0}" == 1 ]]; then
2314
$dcr web upgrade --noinput --create-kafka-topics
2415
echo ""

0 commit comments

Comments
 (0)