-
Notifications
You must be signed in to change notification settings - Fork 0
www.enquelogaste.com.ar Proyect Code
mgi1982/-En-que-lo-gast--
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Proyect ¿En qué lo gaste? Website: www.enquelogaste.com.ar DATABASE: -- phpMyAdmin SQL Dump -- version 3.3.7deb6 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Aug 15, 2012 at 07:07 PM -- Server version: 5.1.63 -- PHP Version: 5.3.3-7+squeeze13 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; /*!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: `gestion` -- -- -------------------------------------------------------- -- -- Table structure for table `capital` -- CREATE TABLE IF NOT EXISTS `capital` ( `id_user` int(10) NOT NULL AUTO_INCREMENT, `dinero` double(12,2) DEFAULT NULL, KEY `id_user` (`id_user`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=8 ; -- -------------------------------------------------------- -- -- Table structure for table `historial_entradas` -- CREATE TABLE IF NOT EXISTS `historial_entradas` ( `id_user` int(10) DEFAULT NULL, `entro` int(11) DEFAULT NULL, `fecha` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `id` int(11) NOT NULL AUTO_INCREMENT, `causa` varchar(255) DEFAULT 'No pusiste', KEY `id_user` (`id_user`), KEY `id` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=91 ; -- -------------------------------------------------------- -- -- Table structure for table `historial_salidas` -- CREATE TABLE IF NOT EXISTS `historial_salidas` ( `id_user` int(10) DEFAULT NULL, `salio` int(11) DEFAULT NULL, `fecha` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `causa` varchar(255) DEFAULT 'Sin causa', KEY `id_user` (`id_user`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `usuario` -- CREATE TABLE IF NOT EXISTS `usuario` ( `id` int(10) NOT NULL AUTO_INCREMENT, `nombre` varchar(255) DEFAULT NULL, `pass` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`), KEY `id` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=11 ; -- -- Constraints for dumped tables -- -- -- Constraints for table `capital` -- ALTER TABLE `capital` ADD CONSTRAINT `capital_ibfk_1` FOREIGN KEY (`id_user`) REFERENCES `usuario` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `historial_entradas` -- ALTER TABLE `historial_entradas` ADD CONSTRAINT `historial_entradas_ibfk_1` FOREIGN KEY (`id_user`) REFERENCES `usuario` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `historial_salidas` -- ALTER TABLE `historial_salidas` ADD CONSTRAINT `historial_salidas_ibfk_1` FOREIGN KEY (`id_user`) REFERENCES `usuario` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
Releases
No releases published
Packages 0
No packages published