diff --git a/database/sql/1-db_database.sql b/database/sql/1-db_database.sql index b337749829..8581f00075 100644 --- a/database/sql/1-db_database.sql +++ b/database/sql/1-db_database.sql @@ -13192,48 +13192,6 @@ CREATE TABLE IF NOT EXISTS `nxcoupons` ( PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=41 ; -INSERT INTO `nxcoupons` (`id`, `couponid`, `rate`, `activeday`, `starthour`, `endhour`) VALUES -(1,5211000,2,254,18,20), -(2,5211004,2,124,7,11), -(3,5211005,2,124,10,14), -(4,5211006,2,124,13,17), -(5,5211007,2,124,16,20), -(6,5211008,2,124,19,23), -(7,5211009,2,130,7,11), -(8,5211010,2,130,10,14), -(9,5211011,2,130,13,17), -(10,5211012,2,130,16,20), -(11,5211013,2,130,19,23), -(12,5211014,2,254,7,11), -(13,5211015,2,254,10,14), -(14,5211016,2,254,13,17), -(15,5211017,2,254,16,20), -(16,5211018,2,254,19,23), -(17,5211037,2,124,0,4), -(18,5211038,2,130,0,4), -(19,5211039,2,254,0,4), -(20,5211040,2,124,3,7), -(21,5211041,2,130,3,7), -(22,5211042,2,254,3,7), -(23,5211043,2,124,6,10), -(24,5211044,2,130,6,10), -(25,5211045,2,254,6,10), -(26,5211046,2,254,0,24), -(27,5211048,2,254,0,24), -(28,5211049,2,254,0,24), -(29,5211052,3,255,0,24), -(30,5211060,3,255,0,24), -(31,5360000,2,254,0,24), -(32,5360001,2,254,7,11), -(33,5360002,2,254,10,14), -(34,5360003,2,254,13,17), -(35,5360004,2,254,16,20), -(36,5360005,2,254,19,23), -(37,5360006,2,254,0,4), -(38,5360007,2,254,3,7), -(39,5360008,2,254,6,10), -(40,5360042,2,254,0,24); - CREATE TABLE IF NOT EXISTS `pets` ( `petid` int(11) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(13) DEFAULT NULL, diff --git a/src/main/resources/db/142-nxcoupons-data.sql b/src/main/resources/db/142-nxcoupons-data.sql new file mode 100644 index 0000000000..12d3d5bed7 --- /dev/null +++ b/src/main/resources/db/142-nxcoupons-data.sql @@ -0,0 +1,41 @@ +INSERT INTO lb_nxcoupons (couponid, rate, activeday, starthour, endhour) +VALUES (211000, 2, 254, 18, 20), + (211004, 2, 124, 7, 11), + (211005, 2, 124, 10, 14), + (211006, 2, 124, 13, 17), + (211007, 2, 124, 16, 20), + (211008, 2, 124, 19, 23), + (211009, 2, 130, 7, 11), + (211010, 2, 130, 10, 14), + (211011, 2, 130, 13, 17), + (5211012, 2, 130, 16, 20), + (5211013, 2, 130, 19, 23), + (5211014, 2, 254, 7, 11), + (5211015, 2, 254, 10, 14), + (5211016, 2, 254, 13, 17), + (5211017, 2, 254, 16, 20), + (5211018, 2, 254, 19, 23), + (5211037, 2, 124, 0, 4), + (5211038, 2, 130, 0, 4), + (5211039, 2, 254, 0, 4), + (5211040, 2, 124, 3, 7), + (5211041, 2, 130, 3, 7), + (5211042, 2, 254, 3, 7), + (5211043, 2, 124, 6, 10), + (5211044, 2, 130, 6, 10), + (5211045, 2, 254, 6, 10), + (5211046, 2, 254, 0, 24), + (5211048, 2, 254, 0, 24), + (5211049, 2, 254, 0, 24), + (5211052, 3, 255, 0, 24), + (5211060, 3, 255, 0, 24), + (5360000, 2, 254, 0, 24), + (5360001, 2, 254, 7, 11), + (5360002, 2, 254, 10, 14), + (5360003, 2, 254, 13, 17), + (5360004, 2, 254, 16, 20), + (5360005, 2, 254, 19, 23), + (5360006, 2, 254, 0, 4), + (5360007, 2, 254, 3, 7), + (5360008, 2, 254, 6, 10), + (5360042, 2, 254, 0, 24); \ No newline at end of file diff --git a/src/main/resources/db/changelog.xml b/src/main/resources/db/changelog.xml index 136e310ff5..85c8055548 100644 --- a/src/main/resources/db/changelog.xml +++ b/src/main/resources/db/changelog.xml @@ -132,5 +132,8 @@ + + + \ No newline at end of file