PHP Code:
CREATE TABLE IF NOT EXISTS `accounts` (
`id` bigint(20) NOT NULL auto_increment,
`acc_id` int(12) NOT NULL,
`parent_id` int(12) NOT NULL,
`name` varchar(255) NOT NULL,
`description` text NOT NULL,
`type` enum('credit','dept') NOT NULL,
`active` tinyint(4) NOT NULL default '0',
`level` bigint(20) NOT NULL default '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=70 ;
--
-- Dumping data for table `accounts`
--
INSERT INTO `accounts` (`id`, `acc_id`, `parent_id`, `name`, `description`, `type`, `active`, `level`) VALUES
(50, 101, 49, 'Sab', '', 'dept', 1, 1),
(51, 102, 49, 'Mot', '', 'dept', 1, 1),
(52, 10101, 50, 'Mak', '', 'dept', 1, 2),
(54, 10201, 51, 'Ban', '', 'dept', 1, 2),
(55, 10202, 51, 'Khaz', '', 'dept', 1, 2),
(49, 1, 0, 'Osol', '', 'dept', 1, 0);
Bookmarks