-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Apr 10, 2026 at 12:06 PM
-- Server version: 10.4.32-MariaDB
-- PHP Version: 8.0.30

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `hotel_pos_db`
--

-- --------------------------------------------------------

--
-- Table structure for table `bookings`
--

CREATE TABLE `bookings` (
  `Id` int(11) NOT NULL,
  `BookingCode` varchar(32) NOT NULL,
  `GuestName` varchar(200) NOT NULL,
  `Phone` varchar(50) DEFAULT NULL,
  `Email` varchar(120) DEFAULT NULL,
  `Ic` varchar(64) DEFAULT NULL,
  `Nationality` varchar(40) NOT NULL DEFAULT 'Malaysian',
  `PricingID` int(11) DEFAULT NULL,
  `PackageType` varchar(80) DEFAULT NULL,
  `Course` varchar(120) DEFAULT NULL,
  `Room` varchar(32) NOT NULL,
  `Checkin` date NOT NULL,
  `Checkout` date NOT NULL,
  `Nights` int(11) NOT NULL,
  `PaxJson` longtext NOT NULL,
  `AddonsJson` longtext NOT NULL,
  `FeesJson` longtext DEFAULT NULL,
  `AgentCode` varchar(64) DEFAULT NULL,
  `AgentId` varchar(64) DEFAULT NULL,
  `TotalAmount` decimal(12,2) NOT NULL,
  `AmountPaid` decimal(12,2) NOT NULL,
  `PayMethod` varchar(32) NOT NULL DEFAULT 'cash',
  `Remarks` varchar(500) DEFAULT NULL,
  `Status` varchar(32) NOT NULL DEFAULT 'confirmed',
  `CreatedAtUtc` datetime(6) NOT NULL DEFAULT utc_timestamp(6)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `rooms`
--

CREATE TABLE `rooms` (
  `RoomID` int(11) NOT NULL,
  `RoomCode` varchar(32) NOT NULL,
  `RoomTypeName` varchar(80) NOT NULL,
  `MaxPax` int(11) NOT NULL,
  `IsActive` tinyint(1) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rooms`
--

INSERT INTO `rooms` (`RoomID`, `RoomCode`, `RoomTypeName`, `MaxPax`, `IsActive`) VALUES
(1, 'WHT-01', 'White House Triple', 3, 1),
(2, 'WHT-02', 'White House Triple', 3, 1),
(3, 'WHT-03', 'White House Triple', 3, 1),
(4, 'WHT-04', 'White House Triple', 3, 1),
(5, 'WHT-05', 'White House Triple', 3, 1),
(6, 'WHT-06', 'White House Triple', 3, 1),
(7, 'WHT-07', 'White House Triple', 3, 1),
(8, 'WHT-08', 'White House Triple', 3, 1),
(9, 'WHT-09', 'White House Triple', 3, 1),
(10, 'WHT-10', 'White House Triple', 3, 1),
(11, 'WHT-11', 'White House Triple', 3, 1),
(12, 'WHT-12', 'White House Triple', 3, 1),
(13, 'WHT-13', 'White House Triple', 3, 1),
(14, 'WHT-14', 'White House Triple', 3, 1),
(15, 'WHS-01', 'White House Seaview', 2, 1),
(16, 'WHS-02', 'White House Seaview', 2, 1),
(17, 'TBT-01', 'Timber Triple', 3, 1),
(18, 'TBT-02', 'Timber Triple', 3, 1),
(19, 'TBT-03', 'Timber Triple', 3, 1),
(20, 'TBW-01', 'Timber Twin (2 single beds)', 3, 1),
(21, 'TBW-02', 'Timber Twin (2 single beds)', 3, 1),
(22, 'TBW-03', 'Timber Twin (2 single beds)', 3, 1),
(23, 'TBW-04', 'Timber Twin (2 single beds)', 3, 1),
(24, 'TBK-01', 'Timber King', 3, 1),
(25, 'TBK-02', 'Timber King', 3, 1),
(26, 'TBK-03', 'Timber King', 3, 1),
(27, 'TBK-04', 'Timber King', 3, 1),
(28, 'TBK-05', 'Timber King', 3, 1),
(29, 'ZNQ-01', 'Zenith Quad', 4, 1),
(30, 'ZNQ-02', 'Zenith Quad', 4, 1),
(31, 'ZNQ-03', 'Zenith Quad', 4, 1),
(32, 'ZNQ-04', 'Zenith Quad', 4, 1),
(33, 'ZNQ-05', 'Zenith Quad', 4, 1),
(34, 'ZNQ-06', 'Zenith Quad', 4, 1),
(35, 'ZNQ-07', 'Zenith Quad', 4, 1),
(36, 'ZNQ-08', 'Zenith Quad', 4, 1),
(37, 'ZNQ-09', 'Zenith Quad', 4, 1),
(38, 'ZNQ-10', 'Zenith Quad', 4, 1),
(39, 'ZNQ-11', 'Zenith Quad', 4, 1),
(40, 'ZNQ-12', 'Zenith Quad', 4, 1),
(41, 'ZNQ-13', 'Zenith Quad', 4, 1),
(42, 'ZNQ-14', 'Zenith Quad', 4, 1),
(43, 'ZNQ-15', 'Zenith Quad', 4, 1);

-- --------------------------------------------------------

--
-- Table structure for table `bookingattributes`
--

CREATE TABLE `bookingattributes` (
  `BookingAttributeID` int(11) NOT NULL,
  `BookingID` int(11) NOT NULL,
  `PricingID` int(11) DEFAULT NULL,
  `AttributeKey` varchar(80) NOT NULL,
  `AttributeValue` longtext DEFAULT NULL,
  `CreatedAtUtc` datetime(6) NOT NULL DEFAULT utc_timestamp(6)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `durations`
--

CREATE TABLE `durations` (
  `DurationID` int(11) NOT NULL,
  `Name` varchar(20) DEFAULT NULL,
  `Days` int(11) DEFAULT NULL,
  `Nights` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `durations`
--

INSERT INTO `durations` (`DurationID`, `Name`, `Days`, `Nights`) VALUES
(1, '2D1N', 2, 1),
(2, '3D2N', 3, 2),
(3, '4D3N', 4, 3),
(4, '5D4N', 5, 4),
(5, '6D5N', 6, 5),
(6, '7D6N', 7, 6);

-- --------------------------------------------------------

--
-- Table structure for table `packagepricing`
--

CREATE TABLE `packagepricing` (
  `PricingID` int(11) NOT NULL,
  `PackageID` int(11) NOT NULL,
  `DurationID` int(11) NOT NULL,
  `RoomTypeID` int(11) NOT NULL,
  `PaxTypeID` int(11) NOT NULL,
  `Price` decimal(10,2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `packagepricing`
--

INSERT INTO `packagepricing` (`PricingID`, `PackageID`, `DurationID`, `RoomTypeID`, `PaxTypeID`, `Price`) VALUES
(13, 1, 1, 1, 1, 2030.00),
(14, 1, 2, 1, 1, 2040.00),
(15, 1, 3, 1, 1, 2760.00),
(16, 1, 4, 1, 1, 3225.00),
(17, 1, 5, 1, 1, 3705.00),
(18, 1, 6, 1, 1, 4365.00),
(19, 1, 1, 1, 2, 1360.00),
(20, 1, 2, 1, 2, 1600.00),
(21, 1, 3, 1, 2, 1840.00),
(22, 1, 4, 1, 2, 2150.00),
(23, 1, 5, 1, 2, 2470.00),
(24, 1, 6, 1, 2, 2910.00),
(27, 1, 1, 2, 1, 1780.00),
(28, 1, 2, 2, 1, 2100.00),
(29, 1, 3, 2, 1, 2415.00),
(30, 1, 4, 2, 1, 2835.00),
(31, 1, 5, 2, 1, 3345.00),
(32, 1, 6, 2, 1, 3840.00),
(33, 1, 1, 2, 2, 1185.00),
(34, 1, 2, 2, 2, 1400.00),
(35, 1, 3, 2, 2, 1610.00),
(36, 1, 4, 2, 2, 1890.00),
(37, 1, 5, 2, 2, 2230.00),
(38, 1, 6, 2, 2, 2560.00),
(39, 1, 1, 2, 3, 1165.00),
(40, 1, 2, 2, 3, 1345.00),
(41, 1, 3, 2, 3, 1525.00),
(42, 1, 4, 2, 3, 1705.00),
(43, 1, 5, 2, 3, 1880.00),
(44, 1, 6, 2, 3, 2060.00),
(45, 1, 1, 3, 1, 1890.00),
(46, 1, 2, 3, 1, 2185.00),
(49, 1, 3, 3, 1, 2500.00),
(50, 1, 4, 3, 1, 2985.00),
(51, 1, 5, 3, 1, 3525.00),
(52, 1, 6, 3, 1, 4020.00),
(53, 1, 1, 3, 2, 1260.00),
(54, 1, 2, 3, 2, 1455.00),
(55, 1, 3, 3, 2, 1665.00),
(56, 1, 4, 3, 2, 1990.00),
(57, 1, 5, 3, 2, 2350.00),
(58, 1, 6, 3, 2, 2680.00),
(59, 1, 1, 3, 4, 1035.00),
(60, 1, 2, 3, 4, 1170.00),
(61, 1, 3, 3, 4, 1315.00),
(62, 1, 4, 3, 4, 1465.00),
(63, 1, 5, 3, 4, 1620.00),
(64, 1, 6, 3, 4, 1780.00),
(65, 1, 1, 4, 1, 1710.00),
(66, 1, 2, 4, 1, 1860.00),
(67, 1, 3, 4, 1, 2310.00),
(68, 1, 4, 4, 1, 2580.00),
(69, 1, 5, 4, 1, 2860.00),
(70, 1, 6, 4, 1, 3450.00),
(71, 1, 1, 4, 2, 1140.00),
(72, 1, 2, 4, 2, 1240.00),
(73, 1, 3, 4, 2, 1540.00),
(74, 1, 4, 4, 2, 1720.00),
(75, 1, 5, 4, 2, 1980.00),
(76, 1, 6, 4, 2, 2300.00),
(77, 1, 1, 4, 3, 1060.00),
(78, 1, 2, 4, 3, 1140.00),
(79, 1, 3, 4, 3, 1380.00),
(80, 1, 4, 4, 3, 1530.00),
(81, 1, 5, 4, 3, 1740.00),
(82, 1, 6, 4, 3, 1880.00),
(83, 2, 1, 1, 1, 2445.00),
(84, 2, 2, 1, 1, 2865.00),
(85, 2, 3, 1, 1, 3390.00),
(86, 2, 4, 1, 1, 3990.00),
(87, 2, 5, 1, 1, 4620.00),
(88, 2, 6, 1, 1, 5235.00),
(89, 2, 1, 1, 2, 1630.00),
(90, 2, 2, 1, 2, 1910.00),
(91, 2, 3, 1, 2, 2260.00),
(92, 2, 4, 1, 2, 2660.00),
(93, 2, 5, 1, 2, 3080.00),
(94, 2, 6, 1, 2, 3490.00),
(95, 2, 1, 2, 1, 2385.00),
(96, 2, 2, 2, 1, 2700.00),
(97, 2, 3, 2, 1, 3150.00),
(98, 2, 4, 2, 1, 3720.00),
(99, 2, 5, 2, 1, 4320.00),
(100, 2, 6, 2, 1, 4960.00),
(101, 2, 1, 2, 2, 1590.00),
(102, 2, 2, 2, 2, 1800.00),
(103, 2, 3, 2, 2, 2100.00),
(104, 2, 4, 2, 2, 2480.00),
(105, 2, 5, 2, 2, 2880.00),
(106, 2, 6, 2, 2, 3305.00),
(107, 2, 1, 2, 3, 1420.00),
(108, 2, 2, 2, 3, 1670.00),
(109, 2, 3, 2, 3, 2020.00),
(110, 2, 4, 2, 3, 2380.00),
(111, 2, 5, 2, 3, 2500.00),
(112, 2, 6, 2, 3, 2775.00),
(113, 2, 1, 3, 1, 2335.00),
(114, 2, 2, 3, 1, 2650.00),
(115, 2, 3, 3, 1, 3100.00),
(116, 2, 4, 3, 1, 3650.00),
(117, 2, 5, 3, 1, 4270.00),
(118, 2, 6, 3, 1, 4900.00),
(119, 2, 1, 3, 2, 1690.00),
(120, 2, 2, 3, 2, 2010.00),
(121, 2, 3, 3, 2, 2310.00),
(122, 2, 4, 3, 2, 2720.00),
(123, 2, 5, 3, 2, 3030.00),
(124, 2, 6, 3, 2, 3460.00),
(125, 2, 1, 3, 3, 1490.00),
(126, 2, 2, 3, 3, 1740.00),
(127, 2, 3, 3, 3, 2090.00),
(128, 2, 4, 3, 3, 2450.00),
(129, 2, 5, 3, 3, 2600.00),
(130, 2, 6, 3, 3, 2875.00),
(131, 2, 1, 3, 4, 1215.00),
(132, 2, 2, 3, 4, 1345.00),
(133, 2, 3, 3, 4, 1665.00),
(134, 2, 4, 3, 4, 1880.00),
(135, 2, 5, 3, 4, 2180.00),
(136, 2, 6, 3, 4, 2470.00),
(137, 2, 1, 4, 1, 2025.00),
(138, 2, 2, 4, 1, 2325.00),
(139, 2, 3, 4, 1, 2910.00),
(140, 2, 4, 4, 1, 3450.00),
(141, 2, 5, 4, 1, 3960.00),
(142, 2, 6, 4, 1, 4530.00),
(144, 1, 1, 3, 3, 1195.00),
(145, 1, 2, 3, 3, 1385.00),
(146, 1, 3, 3, 3, 1590.00),
(147, 1, 4, 3, 3, 1810.00),
(148, 1, 5, 3, 3, 2090.00),
(149, 1, 6, 3, 3, 2395.00),
(150, 2, 1, 4, 2, 1350.00),
(151, 2, 2, 4, 2, 1550.00),
(152, 2, 3, 4, 2, 1940.00),
(153, 2, 4, 4, 2, 2300.00),
(154, 2, 5, 4, 2, 2640.00),
(155, 2, 6, 4, 2, 3020.00),
(156, 2, 1, 4, 3, 1260.00),
(157, 2, 2, 4, 3, 1405.00),
(158, 2, 3, 4, 3, 1830.00),
(159, 2, 4, 4, 3, 2000.00),
(160, 2, 5, 4, 3, 2350.00),
(161, 2, 6, 4, 3, 2660.00);

-- --------------------------------------------------------

--
-- Table structure for table `packages`
--

CREATE TABLE `packages` (
  `PackageID` int(11) NOT NULL,
  `Name` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `packages`
--

INSERT INTO `packages` (`PackageID`, `Name`) VALUES
(1, 'Free & Easy'),
(2, 'Scuba Diving');

-- --------------------------------------------------------

--
-- Table structure for table `paxtypes`
--

CREATE TABLE `paxtypes` (
  `PaxTypeID` int(11) NOT NULL,
  `Name` varchar(20) DEFAULT NULL,
  `Capacity` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `paxtypes`
--

INSERT INTO `paxtypes` (`PaxTypeID`, `Name`, `Capacity`) VALUES
(1, 'Single', 1),
(2, 'Twin', 2),
(3, 'Triple', 3),
(4, 'Quad', 4);

-- --------------------------------------------------------

--
-- Table structure for table `roomtypes`
--

CREATE TABLE `roomtypes` (
  `RoomTypeID` int(11) NOT NULL,
  `Name` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `roomtypes`
--

INSERT INTO `roomtypes` (`RoomTypeID`, `Name`) VALUES
(1, 'Seaview White House'),
(2, 'White House'),
(3, 'Zenith Suite'),
(4, 'Timber House');

-- --------------------------------------------------------

--
-- Table structure for table `users`
--

CREATE TABLE `users` (
  `Id` int(11) NOT NULL,
  `Username` varchar(64) NOT NULL,
  `PasswordHash` varchar(500) NOT NULL,
  `Role` varchar(32) NOT NULL DEFAULT 'User',
  `CreatedAtUtc` datetime(6) NOT NULL DEFAULT utc_timestamp(6)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `users`
--

INSERT INTO `users` (`Id`, `Username`, `PasswordHash`, `Role`, `CreatedAtUtc`) VALUES
(1, 'admin', 'AQAAAAIAAYagAAAAEMmQ/Vn7fB2FY7itfgR4NONXGTjlyssXkQT8ixSR9idAC982uXMoDc+BoWf6acg8Tw==', 'Admin', '2026-04-08 08:12:10.696266');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `bookings`
--
ALTER TABLE `bookings`
  ADD PRIMARY KEY (`Id`),
  ADD UNIQUE KEY `UQ_Bookings_BookingCode` (`BookingCode`),
  ADD KEY `IX_Bookings_PricingID` (`PricingID`),
  ADD KEY `IX_Bookings_Room` (`Room`),
  ADD KEY `IX_Bookings_Checkin` (`Checkin`),
  ADD KEY `IX_Bookings_Status` (`Status`);

--
-- Indexes for table `bookingattributes`
--
ALTER TABLE `bookingattributes`
  ADD PRIMARY KEY (`BookingAttributeID`),
  ADD UNIQUE KEY `UQ_BookingAttributes_Booking_Attribute` (`BookingID`,`AttributeKey`),
  ADD KEY `IX_BookingAttributes_PricingID` (`PricingID`);

--
-- Indexes for table `durations`
--
ALTER TABLE `durations`
  ADD PRIMARY KEY (`DurationID`);

--
-- Indexes for table `packagepricing`
--
ALTER TABLE `packagepricing`
  ADD PRIMARY KEY (`PricingID`),
  ADD UNIQUE KEY `PackageID` (`PackageID`,`DurationID`,`RoomTypeID`,`PaxTypeID`),
  ADD KEY `DurationID` (`DurationID`),
  ADD KEY `RoomTypeID` (`RoomTypeID`),
  ADD KEY `PaxTypeID` (`PaxTypeID`);

--
-- Indexes for table `packages`
--
ALTER TABLE `packages`
  ADD PRIMARY KEY (`PackageID`);

--
-- Indexes for table `paxtypes`
--
ALTER TABLE `paxtypes`
  ADD PRIMARY KEY (`PaxTypeID`);

--
-- Indexes for table `roomtypes`
--
ALTER TABLE `roomtypes`
  ADD PRIMARY KEY (`RoomTypeID`);

--
-- Indexes for table `rooms`
--
ALTER TABLE `rooms`
  ADD PRIMARY KEY (`RoomID`),
  ADD UNIQUE KEY `UQ_Rooms_RoomCode` (`RoomCode`);

--
-- Indexes for table `users`
--
ALTER TABLE `users`
  ADD PRIMARY KEY (`Id`),
  ADD UNIQUE KEY `UQ_Users_Username` (`Username`),
  ADD KEY `IX_Users_Role` (`Role`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `bookings`
--
ALTER TABLE `bookings`
  MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `bookingattributes`
--
ALTER TABLE `bookingattributes`
  MODIFY `BookingAttributeID` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `durations`
--
ALTER TABLE `durations`
  MODIFY `DurationID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `packagepricing`
--
ALTER TABLE `packagepricing`
  MODIFY `PricingID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=162;

--
-- AUTO_INCREMENT for table `packages`
--
ALTER TABLE `packages`
  MODIFY `PackageID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `paxtypes`
--
ALTER TABLE `paxtypes`
  MODIFY `PaxTypeID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `roomtypes`
--
ALTER TABLE `roomtypes`
  MODIFY `RoomTypeID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `rooms`
--
ALTER TABLE `rooms`
  MODIFY `RoomID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=44;

--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
  MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- Constraints for dumped tables
--

--
-- Constraints for table `packagepricing`
--
ALTER TABLE `packagepricing`
  ADD CONSTRAINT `packagepricing_ibfk_1` FOREIGN KEY (`PackageID`) REFERENCES `packages` (`PackageID`),
  ADD CONSTRAINT `packagepricing_ibfk_2` FOREIGN KEY (`DurationID`) REFERENCES `durations` (`DurationID`),
  ADD CONSTRAINT `packagepricing_ibfk_3` FOREIGN KEY (`RoomTypeID`) REFERENCES `roomtypes` (`RoomTypeID`),
  ADD CONSTRAINT `packagepricing_ibfk_4` FOREIGN KEY (`PaxTypeID`) REFERENCES `paxtypes` (`PaxTypeID`);

--
-- Constraints for table `bookings`
--
ALTER TABLE `bookings`
  ADD CONSTRAINT `bookings_ibfk_1` FOREIGN KEY (`PricingID`) REFERENCES `packagepricing` (`PricingID`) ON DELETE SET NULL ON UPDATE CASCADE,
  ADD CONSTRAINT `bookings_ibfk_2` FOREIGN KEY (`Room`) REFERENCES `rooms` (`RoomCode`) ON UPDATE CASCADE;

--
-- Constraints for table `bookingattributes`
--
ALTER TABLE `bookingattributes`
  ADD CONSTRAINT `bookingattributes_ibfk_1` FOREIGN KEY (`BookingID`) REFERENCES `bookings` (`Id`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `bookingattributes_ibfk_2` FOREIGN KEY (`PricingID`) REFERENCES `packagepricing` (`PricingID`) ON DELETE SET NULL ON UPDATE CASCADE;
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
