Advertisement
badlogic

Migration for request type

Mar 2nd, 2017
459
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 1.05 KB | None | 0 0
  1. -- Adminer 4.2.5 MySQL dump
  2.  
  3. SET NAMES utf8;
  4. SET time_zone = '+00:00';
  5. SET foreign_key_checks = 0;
  6. SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
  7.  
  8. USE `dps_portal_db`;
  9.  
  10. DROP TABLE IF EXISTS `request_type`;
  11. CREATE TABLE `request_type` (
  12.   `req_id` int(11) NOT NULL AUTO_INCREMENT,
  13.   `req_name` varchar(255) COLLATE latin1_general_ci NOT NULL,
  14.   PRIMARY KEY (`req_id`)
  15. ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
  16.  
  17. INSERT INTO `request_type` (`req_id`, `req_name`) VALUES
  18. (1, 'Permanent House No.'),
  19. (2, 'Permanent Street'),
  20. (3, 'Permanent Brgy/Subdivision'),
  21. (4, 'Permanent District/Municipality'),
  22. (5, 'Permanent City/Province'),
  23. (6, 'Zip Code'),
  24. (7, 'Current Unit/House No.'),
  25. (8, 'Current Street '),
  26. (9, 'Current Brgy/Subdivision'),
  27. (10,    'Current District/Municipality'),
  28. (11,    'Current City/Province'),
  29. (12,    'Current Zip Code'),
  30. (13,    'Home Phone No.'),
  31. (14,    'Mobile No.'),
  32. (15,    'Email Address'),
  33. (16,    'Language/Dialect/s spoken at home'),
  34. (17,    'Talents/Special Skills'),
  35. (18,    'Hobbies/Interest');
  36.  
  37. -- 2017-03-02 07:10:26
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement