Skip to content

Commit

Permalink
UXPROD-5090 add time units
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonAntonich committed Jan 31, 2025
1 parent b7f3608 commit 58369cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
DROP TABLE IF EXISTS service_point_expiration_period ;
DROP TYPE IF EXISTS interval_id;
CREATE TYPE interval_id AS ENUM ('Minutes', 'Days', 'Weeks');
CREATE TYPE interval_id AS ENUM ('Minutes', 'Hours', 'Days', 'Weeks', 'Months');
CREATE TABLE IF NOT EXISTS service_point_expiration_period
(
id uuid NOT NULL,
Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/swagger.api/schemas/IntervalIdEnum.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ IntervalIdEnum:
type: string
enum:
- Minutes
- Hours
- Days
- Week
- Weeks
- Months

0 comments on commit 58369cf

Please sign in to comment.