Sha256: 846afee4e5a7c08aed752972042de879538eada966e66002b0bbc6619c453cbd
Contents?: true
Size: 338 Bytes
Versions: 6
Compression:
Stored size: 338 Bytes
Contents
#!/usr/bin/env bash set -e echo echo "Clearing Events Table" echo "= = =" echo default_name=message_store if [ -z ${DATABASE_NAME+x} ]; then echo "(DATABASE_NAME is not set)" database=$default_name else database=$DATABASE_NAME fi echo "Database name is: $database" echo psql $database -c "TRUNCATE messages RESTART IDENTITY;"
Version data entries
6 entries across 6 versions & 1 rubygems