-- phpMyAdmin SQL Dump
-- version 3.4.5
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: May 21, 2013 at 01:59 PM
-- Server version: 5.5.16
-- PHP Version: 5.3.8

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

--
-- Database: `help_to_care`
--

-- --------------------------------------------------------

--
-- Table structure for table `user_resource`
--

CREATE TABLE IF NOT EXISTS `user_resource` (
  `user_resourceid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_userid` int(11) DEFAULT NULL,
  `fk_resourceid` int(11) DEFAULT NULL,
  `perm_type` varchar(20) DEFAULT NULL,
  `created` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `userid_created` int(11) DEFAULT '0',
  `updated` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  `userid_updated` int(11) DEFAULT '0',
  `rec_status` int(1) DEFAULT '1',
  PRIMARY KEY (`user_resourceid`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;

--
-- Dumping data for table `user_resource`
--

INSERT INTO `user_resource` (`user_resourceid`, `fk_userid`, `fk_resourceid`, `perm_type`, `created`, `userid_created`, `updated`, `userid_updated`, `rec_status`) VALUES
(1, 1, 8, 'can_edit', '2013-05-21 03:31:29', 0, '0000-00-00 00:00:00', 0, 1),
(2, 2, 13, 'can_view', '2013-05-21 05:54:33', 0, '0000-00-00 00:00:00', 0, 1);

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
