From 7852a8363b41771876604ec822bb5985b8f40e9c Mon Sep 17 00:00:00 2001 From: Kiall Mac Innes Date: Wed, 20 Nov 2013 13:58:42 +0000 Subject: [PATCH] Add placeholder migrations to allow backports to Havana Change-Id: I0c92b609009e7231542407196d59cbf7278faa49 --- .../migrate_repo/versions/023_placeholder.py | 30 +++++++++++++++++++ .../migrate_repo/versions/024_placeholder.py | 30 +++++++++++++++++++ .../migrate_repo/versions/025_placeholder.py | 30 +++++++++++++++++++ .../migrate_repo/versions/026_placeholder.py | 30 +++++++++++++++++++ .../migrate_repo/versions/027_placeholder.py | 30 +++++++++++++++++++ .../migrate_repo/versions/028_placeholder.py | 30 +++++++++++++++++++ .../migrate_repo/versions/029_placeholder.py | 30 +++++++++++++++++++ .../migrate_repo/versions/030_placeholder.py | 30 +++++++++++++++++++ .../migrate_repo/versions/031_placeholder.py | 30 +++++++++++++++++++ .../migrate_repo/versions/032_placeholder.py | 30 +++++++++++++++++++ 10 files changed, 300 insertions(+) create mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/023_placeholder.py create mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/024_placeholder.py create mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/025_placeholder.py create mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/026_placeholder.py create mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/027_placeholder.py create mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/028_placeholder.py create mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/029_placeholder.py create mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/030_placeholder.py create mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/031_placeholder.py create mode 100644 designate/storage/impl_sqlalchemy/migrate_repo/versions/032_placeholder.py diff --git a/designate/storage/impl_sqlalchemy/migrate_repo/versions/023_placeholder.py b/designate/storage/impl_sqlalchemy/migrate_repo/versions/023_placeholder.py new file mode 100644 index 000000000..673b3b889 --- /dev/null +++ b/designate/storage/impl_sqlalchemy/migrate_repo/versions/023_placeholder.py @@ -0,0 +1,30 @@ +# Copyright 2013 Hewlett-Packard Development Company, L.P. +# +# Author: Kiall Mac Innes +# +# 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. +# +# This is a placeholder for Havana backports. +# Do not use this number for new Icehouse work. New Icehouse work starts after +# all the placeholders. +# +# See https://blueprints.launchpad.net/nova/+spec/backportable-db-migrations +# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html + + +def upgrade(migrate_engine): + pass + + +def downgrade(migration_engine): + pass diff --git a/designate/storage/impl_sqlalchemy/migrate_repo/versions/024_placeholder.py b/designate/storage/impl_sqlalchemy/migrate_repo/versions/024_placeholder.py new file mode 100644 index 000000000..673b3b889 --- /dev/null +++ b/designate/storage/impl_sqlalchemy/migrate_repo/versions/024_placeholder.py @@ -0,0 +1,30 @@ +# Copyright 2013 Hewlett-Packard Development Company, L.P. +# +# Author: Kiall Mac Innes +# +# 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. +# +# This is a placeholder for Havana backports. +# Do not use this number for new Icehouse work. New Icehouse work starts after +# all the placeholders. +# +# See https://blueprints.launchpad.net/nova/+spec/backportable-db-migrations +# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html + + +def upgrade(migrate_engine): + pass + + +def downgrade(migration_engine): + pass diff --git a/designate/storage/impl_sqlalchemy/migrate_repo/versions/025_placeholder.py b/designate/storage/impl_sqlalchemy/migrate_repo/versions/025_placeholder.py new file mode 100644 index 000000000..673b3b889 --- /dev/null +++ b/designate/storage/impl_sqlalchemy/migrate_repo/versions/025_placeholder.py @@ -0,0 +1,30 @@ +# Copyright 2013 Hewlett-Packard Development Company, L.P. +# +# Author: Kiall Mac Innes +# +# 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. +# +# This is a placeholder for Havana backports. +# Do not use this number for new Icehouse work. New Icehouse work starts after +# all the placeholders. +# +# See https://blueprints.launchpad.net/nova/+spec/backportable-db-migrations +# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html + + +def upgrade(migrate_engine): + pass + + +def downgrade(migration_engine): + pass diff --git a/designate/storage/impl_sqlalchemy/migrate_repo/versions/026_placeholder.py b/designate/storage/impl_sqlalchemy/migrate_repo/versions/026_placeholder.py new file mode 100644 index 000000000..673b3b889 --- /dev/null +++ b/designate/storage/impl_sqlalchemy/migrate_repo/versions/026_placeholder.py @@ -0,0 +1,30 @@ +# Copyright 2013 Hewlett-Packard Development Company, L.P. +# +# Author: Kiall Mac Innes +# +# 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. +# +# This is a placeholder for Havana backports. +# Do not use this number for new Icehouse work. New Icehouse work starts after +# all the placeholders. +# +# See https://blueprints.launchpad.net/nova/+spec/backportable-db-migrations +# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html + + +def upgrade(migrate_engine): + pass + + +def downgrade(migration_engine): + pass diff --git a/designate/storage/impl_sqlalchemy/migrate_repo/versions/027_placeholder.py b/designate/storage/impl_sqlalchemy/migrate_repo/versions/027_placeholder.py new file mode 100644 index 000000000..673b3b889 --- /dev/null +++ b/designate/storage/impl_sqlalchemy/migrate_repo/versions/027_placeholder.py @@ -0,0 +1,30 @@ +# Copyright 2013 Hewlett-Packard Development Company, L.P. +# +# Author: Kiall Mac Innes +# +# 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. +# +# This is a placeholder for Havana backports. +# Do not use this number for new Icehouse work. New Icehouse work starts after +# all the placeholders. +# +# See https://blueprints.launchpad.net/nova/+spec/backportable-db-migrations +# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html + + +def upgrade(migrate_engine): + pass + + +def downgrade(migration_engine): + pass diff --git a/designate/storage/impl_sqlalchemy/migrate_repo/versions/028_placeholder.py b/designate/storage/impl_sqlalchemy/migrate_repo/versions/028_placeholder.py new file mode 100644 index 000000000..673b3b889 --- /dev/null +++ b/designate/storage/impl_sqlalchemy/migrate_repo/versions/028_placeholder.py @@ -0,0 +1,30 @@ +# Copyright 2013 Hewlett-Packard Development Company, L.P. +# +# Author: Kiall Mac Innes +# +# 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. +# +# This is a placeholder for Havana backports. +# Do not use this number for new Icehouse work. New Icehouse work starts after +# all the placeholders. +# +# See https://blueprints.launchpad.net/nova/+spec/backportable-db-migrations +# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html + + +def upgrade(migrate_engine): + pass + + +def downgrade(migration_engine): + pass diff --git a/designate/storage/impl_sqlalchemy/migrate_repo/versions/029_placeholder.py b/designate/storage/impl_sqlalchemy/migrate_repo/versions/029_placeholder.py new file mode 100644 index 000000000..673b3b889 --- /dev/null +++ b/designate/storage/impl_sqlalchemy/migrate_repo/versions/029_placeholder.py @@ -0,0 +1,30 @@ +# Copyright 2013 Hewlett-Packard Development Company, L.P. +# +# Author: Kiall Mac Innes +# +# 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. +# +# This is a placeholder for Havana backports. +# Do not use this number for new Icehouse work. New Icehouse work starts after +# all the placeholders. +# +# See https://blueprints.launchpad.net/nova/+spec/backportable-db-migrations +# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html + + +def upgrade(migrate_engine): + pass + + +def downgrade(migration_engine): + pass diff --git a/designate/storage/impl_sqlalchemy/migrate_repo/versions/030_placeholder.py b/designate/storage/impl_sqlalchemy/migrate_repo/versions/030_placeholder.py new file mode 100644 index 000000000..673b3b889 --- /dev/null +++ b/designate/storage/impl_sqlalchemy/migrate_repo/versions/030_placeholder.py @@ -0,0 +1,30 @@ +# Copyright 2013 Hewlett-Packard Development Company, L.P. +# +# Author: Kiall Mac Innes +# +# 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. +# +# This is a placeholder for Havana backports. +# Do not use this number for new Icehouse work. New Icehouse work starts after +# all the placeholders. +# +# See https://blueprints.launchpad.net/nova/+spec/backportable-db-migrations +# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html + + +def upgrade(migrate_engine): + pass + + +def downgrade(migration_engine): + pass diff --git a/designate/storage/impl_sqlalchemy/migrate_repo/versions/031_placeholder.py b/designate/storage/impl_sqlalchemy/migrate_repo/versions/031_placeholder.py new file mode 100644 index 000000000..673b3b889 --- /dev/null +++ b/designate/storage/impl_sqlalchemy/migrate_repo/versions/031_placeholder.py @@ -0,0 +1,30 @@ +# Copyright 2013 Hewlett-Packard Development Company, L.P. +# +# Author: Kiall Mac Innes +# +# 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. +# +# This is a placeholder for Havana backports. +# Do not use this number for new Icehouse work. New Icehouse work starts after +# all the placeholders. +# +# See https://blueprints.launchpad.net/nova/+spec/backportable-db-migrations +# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html + + +def upgrade(migrate_engine): + pass + + +def downgrade(migration_engine): + pass diff --git a/designate/storage/impl_sqlalchemy/migrate_repo/versions/032_placeholder.py b/designate/storage/impl_sqlalchemy/migrate_repo/versions/032_placeholder.py new file mode 100644 index 000000000..673b3b889 --- /dev/null +++ b/designate/storage/impl_sqlalchemy/migrate_repo/versions/032_placeholder.py @@ -0,0 +1,30 @@ +# Copyright 2013 Hewlett-Packard Development Company, L.P. +# +# Author: Kiall Mac Innes +# +# 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. +# +# This is a placeholder for Havana backports. +# Do not use this number for new Icehouse work. New Icehouse work starts after +# all the placeholders. +# +# See https://blueprints.launchpad.net/nova/+spec/backportable-db-migrations +# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html + + +def upgrade(migrate_engine): + pass + + +def downgrade(migration_engine): + pass