Make version_history table creation dependent on non-existence of the
table, which requires some fiddling for database compatability, since
SQLAlchemy doesn't support this operation atomically and MSSQL has no
'CREATE TABLE IF NOT EXISTS' syntax. Also, since it is now idempotent,
this statement is added to the front of every DDL script produced by the
service.
Make version_history table creation dependent on non-existence of the table, which requires some fiddling for database compatability, since SQLAlchemy doesn't support this operation atomically and MSSQL has no 'CREATE TABLE IF NOT EXISTS' syntax. Also, since it is now idempotent, this statement is added to the front of every DDL script produced by the service.
Fixes #16
Signed-off-by: Aaron Browne aaron0browne@gmail.com