Flyway files for defaultPromoTokens (#1851)

* Flyway files for defaultPromoTokens

* Add flyway file
This commit is contained in:
sarahcaseybot 2022-11-22 14:51:08 -05:00 committed by GitHub
parent d447a8ffa8
commit 01a3708eb5
5 changed files with 821 additions and 791 deletions

View file

@ -261,11 +261,11 @@ td.section {
</tr> </tr>
<tr> <tr>
<td class="property_name">generated on</td> <td class="property_name">generated on</td>
<td class="property_value">2022-11-10 15:30:26.16648</td> <td class="property_value">2022-11-11 20:37:39.246068</td>
</tr> </tr>
<tr> <tr>
<td class="property_name">last flyway file</td> <td class="property_name">last flyway file</td>
<td id="lastFlywayFile" class="property_value">V130__add_login_email_column_to_registrarpoc.sql</td> <td id="lastFlywayFile" class="property_value">V131__add_default_promo_tokens_to_registry.sql</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
@ -274,19 +274,19 @@ td.section {
<svg viewbox="0.00 0.00 4029.00 3125.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="erDiagram" style="overflow: hidden; width: 100%; height: 800px"><g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 3121)"> <svg viewbox="0.00 0.00 4029.00 3125.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="erDiagram" style="overflow: hidden; width: 100%; height: 800px"><g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 3121)">
<title>SchemaCrawler_Diagram</title> <title>SchemaCrawler_Diagram</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-3121 4025,-3121 4025,4 -4,4" /> <polygon fill="white" stroke="transparent" points="-4,4 -4,-3121 4025,-3121 4025,4 -4,4" />
<text text-anchor="start" x="3760.5" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00"> <text text-anchor="start" x="3752.5" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">
generated by generated by
</text> </text>
<text text-anchor="start" x="3843.5" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00"> <text text-anchor="start" x="3835.5" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">
SchemaCrawler 16.10.1 SchemaCrawler 16.10.1
</text> </text>
<text text-anchor="start" x="3759.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00"> <text text-anchor="start" x="3751.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">
generated on generated on
</text> </text>
<text text-anchor="start" x="3843.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00"> <text text-anchor="start" x="3835.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">
2022-11-10 15:30:26.16648 2022-11-11 20:37:39.246068
</text> </text>
<polygon fill="none" stroke="#888888" points="3756,-4 3756,-44 4013,-44 4013,-4 3756,-4" /> <!-- allocationtoken_a08ccbef --> <polygon fill="none" stroke="#888888" points="3748,-4 3748,-44 4013,-44 4013,-4 3748,-4" /> <!-- allocationtoken_a08ccbef -->
<g id="node1" class="node"> <g id="node1" class="node">
<title>allocationtoken_a08ccbef</title> <title>allocationtoken_a08ccbef</title>
<polygon fill="#ebcef2" stroke="transparent" points="1091.5,-514.5 1091.5,-533.5 1277.5,-533.5 1277.5,-514.5 1091.5,-514.5" /> <polygon fill="#ebcef2" stroke="transparent" points="1091.5,-514.5 1091.5,-533.5 1277.5,-533.5 1277.5,-514.5 1091.5,-514.5" />

File diff suppressed because it is too large Load diff

View file

@ -128,3 +128,4 @@ V127__fix_user.sql
V128__fix_package_promotion_id.sql V128__fix_package_promotion_id.sql
V129__create_allocateId_sequence_alternative.sql V129__create_allocateId_sequence_alternative.sql
V130__add_login_email_column_to_registrarpoc.sql V130__add_login_email_column_to_registrarpoc.sql
V131__add_default_promo_tokens_to_registry.sql

View file

@ -0,0 +1,15 @@
-- Copyright 2022 The Nomulus Authors. All Rights Reserved.
--
-- 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.
ALTER TABLE "Tld" ADD COLUMN default_promo_tokens text[];

View file

@ -1058,7 +1058,8 @@ CREATE TABLE public."Tld" (
tld_state_transitions public.hstore NOT NULL, tld_state_transitions public.hstore NOT NULL,
tld_type text NOT NULL, tld_type text NOT NULL,
tld_unicode text NOT NULL, tld_unicode text NOT NULL,
transfer_grace_period_length interval NOT NULL transfer_grace_period_length interval NOT NULL,
default_promo_tokens text[]
); );