mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Disable Alembic support on test databases
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
e4cbe264cf
commit
81d55e70ee
2 changed files with 10 additions and 4 deletions
|
@ -110,7 +110,7 @@ SSH_TTY=/dev/pts/0
|
|||
export SSH_CLIENT SSH_CONNECTION SSH_TTY
|
||||
|
||||
# Initialize the test database.
|
||||
python -m aurweb.initdb
|
||||
python -m aurweb.initdb --no-alembic
|
||||
|
||||
echo "INSERT INTO Users (ID, UserName, Passwd, Email, LangPreference, AccountTypeID) VALUES (1, 'user', '!', 'user@localhost', 'en', 1);" | sqlite3 aur.db
|
||||
echo "INSERT INTO Users (ID, UserName, Passwd, Email, LangPreference, AccountTypeID) VALUES (2, 'tu', '!', 'tu@localhost', 'en', 2);" | sqlite3 aur.db
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue