mirror of
https://github.com/google/nomulus.git
synced 2025-07-09 04:33:28 +02:00
Add the PackagePromotion table (#1745)
* Add the PackagePromotion table * Add long id * Add NOT NULL * fix formatting * make package price non null * Add not nulls to java file * Fix broken tests from merge conflicts
This commit is contained in:
parent
3c0805def5
commit
a6087bf328
8 changed files with 298 additions and 1 deletions
|
@ -491,6 +491,18 @@
|
|||
primary key (resource_name, scope)
|
||||
);
|
||||
|
||||
create table "PackagePromotion" (
|
||||
package_promotion_id int8 not null,
|
||||
last_notification_sent timestamptz,
|
||||
max_creates int4 not null,
|
||||
max_domains int4 not null,
|
||||
next_billing_date timestamptz not null,
|
||||
package_price_amount numeric(19, 2) not null,
|
||||
package_price_currency text not null,
|
||||
token text not null,
|
||||
primary key (package_promotion_id)
|
||||
);
|
||||
|
||||
create table "PollMessage" (
|
||||
type text not null,
|
||||
poll_message_id int8 not null,
|
||||
|
@ -797,6 +809,7 @@ create index IDX1iy7njgb7wjmj9piml4l2g0qi on "HostHistory" (history_registrar_id
|
|||
create index IDXkkwbwcwvrdkkqothkiye4jiff on "HostHistory" (host_name);
|
||||
create index IDXknk8gmj7s47q56cwpa6rmpt5l on "HostHistory" (history_type);
|
||||
create index IDX67qwkjtlq5q8dv6egtrtnhqi7 on "HostHistory" (history_modification_time);
|
||||
create index IDXlg6a5tp70nch9cp0gc11brc5o on "PackagePromotion" (token);
|
||||
create index IDXe7wu46c7wpvfmfnj4565abibp on "PollMessage" (registrar_id);
|
||||
create index IDXaydgox62uno9qx8cjlj5lauye on "PollMessage" (event_time);
|
||||
create index premiumlist_name_idx on "PremiumList" (name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue