Add default value to renewal_price_behavior (#1575)

* Add default value to renewal_price_behavior

* Change DEFAULT_PRICE to DEFAULT
This commit is contained in:
Rachel Guan 2022-03-31 12:27:32 -04:00 committed by GitHub
parent 0e355e71ed
commit f340b735c1
4 changed files with 18 additions and 18 deletions

View file

@ -261,7 +261,7 @@ 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-03-28 20:56:27.57848</td> <td class="property_value">2022-03-30 20:53:20.574091</td>
</tr> </tr>
<tr> <tr>
<td class="property_name">last flyway file</td> <td class="property_name">last flyway file</td>
@ -274,19 +274,19 @@ td.section {
<svg viewbox="0.00 0.00 4249.00 2939.50" 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 2935.5)"> <svg viewbox="0.00 0.00 4249.00 2939.50" 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 2935.5)">
<title>SchemaCrawler_Diagram</title> <title>SchemaCrawler_Diagram</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-2935.5 4245,-2935.5 4245,4 -4,4" /> <polygon fill="white" stroke="transparent" points="-4,4 -4,-2935.5 4245,-2935.5 4245,4 -4,4" />
<text text-anchor="start" x="3980.5" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00"> <text text-anchor="start" x="3972.5" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">
generated by generated by
</text> </text>
<text text-anchor="start" x="4063.5" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00"> <text text-anchor="start" x="4055.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="3979.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00"> <text text-anchor="start" x="3971.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">
generated on generated on
</text> </text>
<text text-anchor="start" x="4063.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00"> <text text-anchor="start" x="4055.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">
2022-03-28 20:56:27.57848 2022-03-30 20:53:20.574091
</text> </text>
<polygon fill="none" stroke="#888888" points="3976,-4 3976,-44 4233,-44 4233,-4 3976,-4" /> <!-- allocationtoken_a08ccbef --> <polygon fill="none" stroke="#888888" points="3968,-4 3968,-44 4233,-44 4233,-4 3968,-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="2521.5,-271 2521.5,-290 2707.5,-290 2707.5,-271 2521.5,-271" /> <polygon fill="#ebcef2" stroke="transparent" points="2521.5,-271 2521.5,-290 2707.5,-290 2707.5,-271 2521.5,-271" />

View file

@ -261,7 +261,7 @@ 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-03-28 20:56:25.532932</td> <td class="property_value">2022-03-30 20:53:18.15953</td>
</tr> </tr>
<tr> <tr>
<td class="property_name">last flyway file</td> <td class="property_name">last flyway file</td>
@ -274,19 +274,19 @@ td.section {
<svg viewbox="0.00 0.00 4949.02 4890.50" 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 4886.5)"> <svg viewbox="0.00 0.00 4949.02 4890.50" 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 4886.5)">
<title>SchemaCrawler_Diagram</title> <title>SchemaCrawler_Diagram</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-4886.5 4945.02,-4886.5 4945.02,4 -4,4" /> <polygon fill="white" stroke="transparent" points="-4,4 -4,-4886.5 4945.02,-4886.5 4945.02,4 -4,4" />
<text text-anchor="start" x="4672.52" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00"> <text text-anchor="start" x="4680.52" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">
generated by generated by
</text> </text>
<text text-anchor="start" x="4755.52" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00"> <text text-anchor="start" x="4763.52" 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="4671.52" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00"> <text text-anchor="start" x="4679.52" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">
generated on generated on
</text> </text>
<text text-anchor="start" x="4755.52" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00"> <text text-anchor="start" x="4763.52" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">
2022-03-28 20:56:25.532932 2022-03-30 20:53:18.15953
</text> </text>
<polygon fill="none" stroke="#888888" points="4668.02,-4 4668.02,-44 4933.02,-44 4933.02,-4 4668.02,-4" /> <!-- allocationtoken_a08ccbef --> <polygon fill="none" stroke="#888888" points="4676.02,-4 4676.02,-44 4933.02,-44 4933.02,-4 4676.02,-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="3100.5,-651.5 3100.5,-670.5 3299.5,-670.5 3299.5,-651.5 3100.5,-651.5" /> <polygon fill="#ebcef2" stroke="transparent" points="3100.5,-651.5 3100.5,-670.5 3299.5,-670.5 3299.5,-651.5 3100.5,-651.5" />
@ -652,7 +652,7 @@ td.section {
<text text-anchor="start" x="3285.5" y="-958.3" font-family="Helvetica,sans-Serif" font-size="14.00"> <text text-anchor="start" x="3285.5" y="-958.3" font-family="Helvetica,sans-Serif" font-size="14.00">
</text> </text>
<text text-anchor="start" x="3293.5" y="-958.3" font-family="Helvetica,sans-Serif" font-size="14.00"> <text text-anchor="start" x="3293.5" y="-958.3" font-family="Helvetica,sans-Serif" font-size="14.00">
text text not null
</text> </text>
<text text-anchor="start" x="3116.5" y="-939.3" font-family="Helvetica,sans-Serif" font-size="14.00"> <text text-anchor="start" x="3116.5" y="-939.3" font-family="Helvetica,sans-Serif" font-size="14.00">
renewal_price_currency renewal_price_currency
@ -7395,7 +7395,7 @@ td.section {
<tr> <tr>
<td class="spacer"></td> <td class="spacer"></td>
<td class="minwidth">renewal_price_behavior</td> <td class="minwidth">renewal_price_behavior</td>
<td class="minwidth">text</td> <td class="minwidth">text not null</td>
</tr> </tr>
<tr> <tr>
<td class="spacer"></td> <td class="spacer"></td>

View file

@ -12,6 +12,6 @@
-- See the License for the specific language governing permissions and -- See the License for the specific language governing permissions and
-- limitations under the License. -- limitations under the License.
alter table "BillingRecurrence" add column renewal_price_behavior text; alter table "BillingRecurrence" add column renewal_price_behavior text default 'DEFAULT' not null;
alter table "BillingRecurrence" add column renewal_price_currency text; alter table "BillingRecurrence" add column renewal_price_currency text;
alter table "BillingRecurrence" add column renewal_price_amount numeric(19, 2); alter table "BillingRecurrence" add column renewal_price_amount numeric(19, 2);

View file

@ -117,7 +117,7 @@ CREATE TABLE public."BillingRecurrence" (
domain_name text NOT NULL, domain_name text NOT NULL,
recurrence_end_time timestamp with time zone, recurrence_end_time timestamp with time zone,
recurrence_time_of_year text, recurrence_time_of_year text,
renewal_price_behavior text, renewal_price_behavior text DEFAULT 'DEFAULT'::text NOT NULL,
renewal_price_currency text, renewal_price_currency text,
renewal_price_amount numeric(19,2) renewal_price_amount numeric(19,2)
); );