File tree Expand file tree Collapse file tree 14 files changed +363
-16
lines changed
sqlalchemy/alembic_migrations Expand file tree Collapse file tree 14 files changed +363
-16
lines changed Original file line number Diff line number Diff line change 29
29
# Migration-related constants
30
30
EXPAND_BRANCH = 'expand'
31
31
CONTRACT_BRANCH = 'contract'
32
- CURRENT_RELEASE = 'zed '
32
+ CURRENT_RELEASE = '2023_1 '
33
33
ALEMBIC_INIT_VERSION = 'liberty'
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2021 RedHat Inc.
2
+ # All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License"); you may
5
+ # not use this file except in compliance with the License. You may obtain
6
+ # a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
+ # License for the specific language governing permissions and limitations
14
+ # under the License.
15
+
16
+
17
+ def has_migrations (engine ):
18
+ """Returns true if at least one data row can be migrated."""
19
+
20
+ return False
21
+
22
+
23
+ def migrate (engine ):
24
+ """Return the number of rows migrated."""
25
+
26
+ return 0
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2021 RedHat Inc.
2
+ # All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License"); you may
5
+ # not use this file except in compliance with the License. You may obtain
6
+ # a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
+ # License for the specific language governing permissions and limitations
14
+ # under the License.
15
+
16
+
17
+ def has_migrations (engine ):
18
+ """Returns true if at least one data row can be migrated."""
19
+
20
+ return False
21
+
22
+
23
+ def migrate (engine ):
24
+ """Return the number of rows migrated."""
25
+
26
+ return 0
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2021 RedHat Inc.
2
+ # All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License"); you may
5
+ # not use this file except in compliance with the License. You may obtain
6
+ # a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
+ # License for the specific language governing permissions and limitations
14
+ # under the License.
15
+
16
+
17
+ def has_migrations (engine ):
18
+ """Returns true if at least one data row can be migrated."""
19
+
20
+ return False
21
+
22
+
23
+ def migrate (engine ):
24
+ """Return the number of rows migrated."""
25
+
26
+ return 0
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2021 RedHat Inc.
2
+ # All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License"); you may
5
+ # not use this file except in compliance with the License. You may obtain
6
+ # a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
+ # License for the specific language governing permissions and limitations
14
+ # under the License.
15
+
16
+
17
+ def has_migrations (engine ):
18
+ """Returns true if at least one data row can be migrated."""
19
+
20
+ return False
21
+
22
+
23
+ def migrate (engine ):
24
+ """Return the number of rows migrated."""
25
+
26
+ return 0
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2020 RedHat Inc
2
+ # All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License"); you may
5
+ # not use this file except in compliance with the License. You may obtain
6
+ # a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
+ # License for the specific language governing permissions and limitations
14
+ # under the License.
15
+
16
+
17
+ # revision identifiers, used by Alembic.
18
+ revision = '2023_1_contract01'
19
+ down_revision = 'zed_contract01'
20
+ branch_labels = None
21
+ depends_on = '2023_1_expand01'
22
+
23
+
24
+ def upgrade ():
25
+ pass
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2020 RedHat Inc
2
+ # Licensed under the Apache License, Version 2.0 (the "License"); you may
3
+ # not use this file except in compliance with the License. You may obtain
4
+ # a copy of the License at
5
+ #
6
+ # http://www.apache.org/licenses/LICENSE-2.0
7
+ #
8
+ # Unless required by applicable law or agreed to in writing, software
9
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
10
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
11
+ # License for the specific language governing permissions and limitations
12
+ # under the License.
13
+
14
+ """empty expand for symmetry with 2023_1_expand01
15
+
16
+ Revision ID: ussuri_expand01
17
+ Revises: train_expand01
18
+ Create Date: 2020-01-03 11:55:16.657499
19
+
20
+ """
21
+
22
+ # revision identifiers, used by Alembic.
23
+ revision = '2023_1_expand01'
24
+ down_revision = 'zed_expand01'
25
+ branch_labels = None
26
+ depends_on = None
27
+
28
+
29
+ def upgrade ():
30
+ pass
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2020 RedHat Inc
2
+ # All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License"); you may
5
+ # not use this file except in compliance with the License. You may obtain
6
+ # a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
+ # License for the specific language governing permissions and limitations
14
+ # under the License.
15
+
16
+
17
+ # revision identifiers, used by Alembic.
18
+ revision = 'xena_contract01'
19
+ down_revision = 'wallaby_contract01'
20
+ branch_labels = None
21
+ depends_on = 'xena_expand01'
22
+
23
+
24
+ def upgrade ():
25
+ pass
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2020 RedHat Inc
2
+ # Licensed under the Apache License, Version 2.0 (the "License"); you may
3
+ # not use this file except in compliance with the License. You may obtain
4
+ # a copy of the License at
5
+ #
6
+ # http://www.apache.org/licenses/LICENSE-2.0
7
+ #
8
+ # Unless required by applicable law or agreed to in writing, software
9
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
10
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
11
+ # License for the specific language governing permissions and limitations
12
+ # under the License.
13
+
14
+ """empty expand for symmetry with 2023_1_expand01
15
+
16
+ Revision ID: ussuri_expand01
17
+ Revises: train_expand01
18
+ Create Date: 2020-01-03 11:55:16.657499
19
+
20
+ """
21
+
22
+ # revision identifiers, used by Alembic.
23
+ revision = 'xena_expand01'
24
+ down_revision = 'wallaby_expand01'
25
+ branch_labels = None
26
+ depends_on = None
27
+
28
+
29
+ def upgrade ():
30
+ pass
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2020 RedHat Inc
2
+ # All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License"); you may
5
+ # not use this file except in compliance with the License. You may obtain
6
+ # a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
+ # License for the specific language governing permissions and limitations
14
+ # under the License.
15
+
16
+
17
+ # revision identifiers, used by Alembic.
18
+ revision = 'yoga_contract01'
19
+ down_revision = 'xena_contract01'
20
+ branch_labels = None
21
+ depends_on = 'yoga_expand01'
22
+
23
+
24
+ def upgrade ():
25
+ pass
You can’t perform that action at this time.
0 commit comments