feat: initialize master data service, entities, and SQL seed script for compensation basis and related parameters

This commit is contained in:
azeeee05
2026-08-10 19:21:45 +05:30
parent ad90a5b082
commit 689be81442
4 changed files with 4 additions and 23 deletions
+2 -12
View File
@@ -766,17 +766,7 @@ SELECT label, value, true FROM (VALUES
) AS t(label, value)
WHERE NOT EXISTS (SELECT 1 FROM masters.tbl_airline_preferences WHERE masters.tbl_airline_preferences.value = t.value);
-- 49. Seat Types
INSERT INTO masters.tbl_seat_types (label, value, "isActive")
SELECT label, value, true FROM (VALUES
('Extra Legroom', 'extra-legroom'),
('Exit Row', 'exit-row'),
('Preferred', 'preferred'),
('Premium', 'premium')
) AS t(label, value)
WHERE NOT EXISTS (SELECT 1 FROM masters.tbl_seat_types WHERE masters.tbl_seat_types.value = t.value);
-- 50. Meal Categories
-- 49. Meal Categories
INSERT INTO masters.tbl_meal_categories (label, value, "isActive")
SELECT label, value, true FROM (VALUES
('Vegetarian', 'vegetarian'),
@@ -786,7 +776,7 @@ SELECT label, value, true FROM (VALUES
) AS t(label, value)
WHERE NOT EXISTS (SELECT 1 FROM masters.tbl_meal_categories WHERE masters.tbl_meal_categories.value = t.value);
-- 51. Seat Categories
-- 50. Seat Categories
INSERT INTO masters.tbl_seat_categories (label, value, "isActive")
SELECT label, value, true FROM (VALUES
('Standard', 'standard'),