Enable mysql_traditional_mode

This is required to prevent silent truncates at insert or update operations
under MySQL. By default MySQL truncates inserted string if it longer
than a declared field just with warning. That is fraught with data
corruption.

Change-Id: I5007cac3501d50b9876d87f9f662e6e7dde03cb1
Make sure the alembic schema are run in the tests

We need to make sure that the migrations are run to get
the latest schema when the db is created in the new Database
fixture.

Note: alembic migrations do not seem to work with an in-memory sqlite
as the alembic command is run in a different process
resulting in no schema been applied.

Now we use a new sqlite database (tempfile) for each test and make use of the
NestedTempfile fixture to delete the file.

Change-Id: Iea7f5c90e91404a89bdd526f609f4352c7f5dbd3
Make sure the db is created and upgraded in tempest

Add an init_solum function and setup the db.

Change-Id: I4809449401a837b0688dfaf35b1c82fbca0eb8c8
Merge "Enable mysql_traditional_mode"
Merge "Make sure the alembic schema are run in the tests"
Merge "Make sure the db is created and upgraded in tempest"