sql: Populate initial alembic migration

Change-Id: Ie58eb1712399500cc0ef37144f4d6338a5bccc88
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane 2022-01-12 18:04:55 +00:00
parent 1885f81576
commit afce7ca8eb
3 changed files with 1109 additions and 30 deletions

View File

@ -20,9 +20,10 @@ from sqlalchemy import pool
# access to the values within the .ini file in use.
config = context.config
# Interpret the config file for Python logging.
# Interpret the config file for Python logging unless we're told not to.
# This line sets up loggers basically.
fileConfig(config.config_file_name)
if config.attributes.get('configure_logger', True):
fileConfig(config.config_file_name)
# add your model's MetaData object here
# for 'autogenerate' support

File diff suppressed because it is too large Load Diff

View File

@ -1,28 +0,0 @@
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
"""Initial version
Revision ID: 27e647c0fad4
Revises:
Create Date: 2021-12-23 11:13:26.305412
"""
# revision identifiers, used by Alembic.
revision = '27e647c0fad4'
down_revision = None
branch_labels = None
depends_on = None
def upgrade():
pass