Guest User

Untitled

a guest
Aug 10th, 2010
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 2.63 KB | None | 0 0
  1. -- phpMyAdmin SQL Dump
  2. -- version 3.2.0.1
  3. -- http://www.phpmyadmin.net
  4. --
  5. -- Host: localhost
  6. -- Generation Time: Aug 11, 2010 at 11:07 AM
  7. -- Server version: 5.1.36
  8. -- PHP Version: 5.2.11
  9.  
  10. SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
  11.  
  12. --
  13. -- Database: `stack_overflow`
  14. --
  15.  
  16. -- --------------------------------------------------------
  17.  
  18. --
  19. -- Table structure for table `field`
  20. --
  21.  
  22. CREATE TABLE IF NOT EXISTS `field` (
  23.   `Id` int(11) NOT NULL AUTO_INCREMENT,
  24.   `FieldAttributeId` int(11) DEFAULT '0',
  25.   `FieldSetId` int(11) DEFAULT '0',
  26.   `FormId` int(11) NOT NULL,
  27.   `LookupFieldTypeId` int(11) NOT NULL,
  28.   `Description` char(255) DEFAULT NULL,
  29.   `DisplayOrder` int(11) NOT NULL,
  30.   `IsDeleted` tinyint(1) DEFAULT '1',
  31.   `Label` char(45) DEFAULT NULL,
  32.   `Name` char(45) NOT NULL,
  33.   PRIMARY KEY (`Id`)
  34. ) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=104 ;
  35.  
  36. --
  37. -- Dumping data for table `field`
  38. --
  39.  
  40. INSERT INTO `field` (`Id`, `FieldAttributeId`, `FieldSetId`, `FormId`, `LookupFieldTypeId`, `Description`, `DisplayOrder`, `IsDeleted`, `Label`, `Name`) VALUES
  41. (102, 0, 0, 1, 6, 'First Name Description', 0, 0, 'First Name Label', 'first_name'),
  42. (103, 0, 0, 1, 6, 'Last Name Description', 0, 0, 'Last Name Label', 'last_name'),
  43. (100, 0, 1, 1, 6, 'Item Name Description', 0, 0, 'Item Name Label', 'item_name'),
  44. (101, 0, 1, 1, 6, 'Item Price Description', 0, 0, 'Item Price Label', 'item_price');
  45.  
  46. -- --------------------------------------------------------
  47.  
  48. --
  49. -- Table structure for table `fielddata`
  50. --
  51.  
  52. CREATE TABLE IF NOT EXISTS `fielddata` (
  53.   `Id` int(11) NOT NULL AUTO_INCREMENT,
  54.   `DataSourceId` int(11) NOT NULL,
  55.   `FieldId` int(11) NOT NULL,
  56.   `Value` mediumtext,
  57.   PRIMARY KEY (`Id`)
  58. ) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;
  59.  
  60. --
  61. -- Dumping data for table `fielddata`
  62. --
  63.  
  64. INSERT INTO `fielddata` (`Id`, `DataSourceId`, `FieldId`, `Value`) VALUES
  65. (1, 15, 100, 'camera'),
  66. (2, 15, 101, '100'),
  67. (3, 15, 100, 'computer'),
  68. (4, 15, 101, '200'),
  69. (5, 15, 102, 'Little'),
  70. (6, 15, 103, 'Timmy');
  71.  
  72. -- --------------------------------------------------------
  73.  
  74. --
  75. -- Table structure for table `fieldset`
  76. --
  77.  
  78. CREATE TABLE IF NOT EXISTS `fieldset` (
  79.   `Id` int(11) NOT NULL AUTO_INCREMENT,
  80.   `FormId` int(11) DEFAULT NULL,
  81.   `Description` char(255) DEFAULT NULL,
  82.   `IsRepeating` tinyint(1) DEFAULT NULL,
  83.   `Label` char(45) DEFAULT NULL,
  84.   PRIMARY KEY (`Id`)
  85. ) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
  86.  
  87. --
  88. -- Dumping data for table `fieldset`
  89. --
  90.  
  91. INSERT INTO `fieldset` (`Id`, `FormId`, `Description`, `IsRepeating`, `Label`) VALUES
  92. (1, 1, 'Wish List Description', 1, 'Wish List');
Advertisement
Add Comment
Please, Sign In to add comment