forked from ebhomengo/niki
1
0
Fork 0
niki/repository/mysql/migration/1705510025_seeder_add_provi...

35 lines
2.2 KiB
MySQL
Raw Normal View History

2024-01-17 20:17:06 +00:00
-- +migrate Up
INSERT INTO `provinces` (`id`, `name`) VALUES (1, 'آذربایجان شرقی');
INSERT INTO `provinces` (`id`, `name`) VALUES (2, 'آذربایجان غربی');
INSERT INTO `provinces` (`id`, `name`) VALUES (3, 'اردبیل');
INSERT INTO `provinces` (`id`, `name`) VALUES (4, 'اصفهان');
INSERT INTO `provinces` (`id`, `name`) VALUES (5, 'البرز');
INSERT INTO `provinces` (`id`, `name`) VALUES (6, 'ایلام');
INSERT INTO `provinces` (`id`, `name`) VALUES (7, 'بوشهر');
INSERT INTO `provinces` (`id`, `name`) VALUES (8, 'تهران');
INSERT INTO `provinces` (`id`, `name`) VALUES (9, 'چهارمحال و بختیاری');
INSERT INTO `provinces` (`id`, `name`) VALUES (10, 'خراسان جنوبی');
INSERT INTO `provinces` (`id`, `name`) VALUES (11, 'خراسان رضوی');
INSERT INTO `provinces` (`id`, `name`) VALUES (12, 'خراسان شمالی');
INSERT INTO `provinces` (`id`, `name`) VALUES (13, 'خوزستان');
INSERT INTO `provinces` (`id`, `name`) VALUES (14, 'زنجان');
INSERT INTO `provinces` (`id`, `name`) VALUES (15, 'سمنان');
INSERT INTO `provinces` (`id`, `name`) VALUES (16, 'سیستان و بلوچستان');
INSERT INTO `provinces` (`id`, `name`) VALUES (17, 'فارس');
INSERT INTO `provinces` (`id`, `name`) VALUES (18, 'قزوین');
INSERT INTO `provinces` (`id`, `name`) VALUES (19, 'قم');
INSERT INTO `provinces` (`id`, `name`) VALUES (20, 'كردستان');
INSERT INTO `provinces` (`id`, `name`) VALUES (21, 'كرمان');
INSERT INTO `provinces` (`id`, `name`) VALUES (22, 'كرمانشاه');
INSERT INTO `provinces` (`id`, `name`) VALUES (23, 'کهگیلویه و بویراحمد');
INSERT INTO `provinces` (`id`, `name`) VALUES (24, 'گلستان');
INSERT INTO `provinces` (`id`, `name`) VALUES (25, 'گیلان');
INSERT INTO `provinces` (`id`, `name`) VALUES (26, 'لرستان');
INSERT INTO `provinces` (`id`, `name`) VALUES (27, 'مازندران');
INSERT INTO `provinces` (`id`, `name`) VALUES (28, 'مركزی');
INSERT INTO `provinces` (`id`, `name`) VALUES (29, 'هرمزگان');
INSERT INTO `provinces` (`id`, `name`) VALUES (30, 'همدان');
INSERT INTO `provinces` (`id`, `name`) VALUES (31, 'یزد');
-- +migrate Down
DELETE FROM `provinces` WHERE id BETWEEN '1' AND '31';