db: recreate post versions and pool versions tables.

Add the post and pool versions tables back. Currently only used by the
test suite to make it easier to run. Not yet used for production.
This commit is contained in:
evazion
2021-09-21 12:35:46 -05:00
parent c69ba54b5a
commit 3a0614bb55
4 changed files with 294 additions and 10 deletions

View File

@@ -92,15 +92,6 @@ jobs:
cd /danbooru
bin/rails db:test:prepare
apt-get update
apt-get -y install --no-install-recommends ruby-dev postgresql-server-dev-all build-essential zlib1g-dev git
mkdir ~/archives
cd ~/archives
git clone https://github.com/evazion/archives .
gem install bundler -v 1.13.3
bundle install --binstubs
bin/rake db:migrate
- name: Run tests
run: |
export HOME=/root