Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026

Diff for web-apps/finance-manager/sql/Attic/finance.sql between version 1.4 and 1.5

version 1.4, 2004/04/09 09:16:28 version 1.5, 2004/04/13 06:49:32
Line 6  DROP TABLE IF EXISTS Event;
Line 6  DROP TABLE IF EXISTS Event;
 DROP TABLE IF EXISTS Source;  DROP TABLE IF EXISTS Source;
 DROP TABLE IF EXISTS event_type;  DROP TABLE IF EXISTS event_type;
   
 -- MySQL dump 9.10  -- MySQL dump 9.09
 --  --
 -- Host: localhost    Database: finance  -- Host: localhost    Database: finance
 -- ------------------------------------------------------  -- ------------------------------------------------------
 -- Server version       4.0.18-log  -- Server version       4.0.16-log
   
 --  --
 -- Table structure for table `Source`  -- Table structure for table `Source`
Line 40  CREATE TABLE Source (
Line 40  CREATE TABLE Source (
 -- Dumping data for table `Source`  -- Dumping data for table `Source`
 --  --
   
   INSERT INTO Source VALUES (1,1,'xxxxxx','','','2004-02-09 22:17:31',20040411234416,'0000-00-00 00:00:00',0,0,0,3000,10000,15000);
 /*!40000 ALTER TABLE Source DISABLE KEYS */;  INSERT INTO Source VALUES (2,1,'ucet VUB',NULL,NULL,'2004-02-09 22:17:40',20040219233539,'0000-00-00 00:00:00',0,0,15000,3000,10000,15000);
 LOCK TABLES Source WRITE;  INSERT INTO Source VALUES (4,1,'teaasdf','asdfasdf','asdfasdf','2004-04-09 00:46:12',20040409012526,'0000-00-00 00:00:00',0,0,0,0,0,0);
 INSERT INTO Source VALUES (1,1,'Zoznam s.r.o.',NULL,NULL,'2004-02-09 22:17:31',00000000000000,'0000-00-00 00:00:00',0,0,0,3000,10000,15000),(2,1,'ucet VUB',NULL,NULL,'2004-02-09 22:17:40',20040219233539,'0000-00-00 00:00:00',0,0,15000,3000,10000,15000),(4,1,'teaasdf','asdfasdf','asdfasdf','2004-04-09 00:46:12',20040409012526,'0000-00-00 00:00:00',0,0,0,0,0,0),(5,1,'asdf','asdf','asdf','2004-04-09 00:52:05',20040409012151,'0000-00-00 00:00:00',0,0,0,0,0,12),(6,1,'test','asdf','a sdf','2004-04-09 01:28:42',20040409012848,'0000-00-00 00:00:00',0,0,0,0,0,0);  INSERT INTO Source VALUES (5,1,'asdf','asdf','asdf','2004-04-09 00:52:05',20040409012151,'0000-00-00 00:00:00',0,0,0,0,0,12);
 UNLOCK TABLES;  INSERT INTO Source VALUES (6,1,'test','asdf','a sdf','2004-04-09 01:28:42',20040409012848,'0000-00-00 00:00:00',0,0,0,0,0,0);
 /*!40000 ALTER TABLE Source ENABLE KEYS */;  INSERT INTO Source VALUES (7,1,'sdfasdf asdasdf','popis','pozn. ','2004-04-11 23:46:33',20040411234633,'0000-00-00 00:00:00',2,3,1,1,2,3);
   
 --  --
 -- Table structure for table `event_type`  -- Table structure for table `event_type`
Line 63  CREATE TABLE event_type (
Line 63  CREATE TABLE event_type (
 -- Dumping data for table `event_type`  -- Dumping data for table `event_type`
 --  --
   
   INSERT INTO event_type VALUES (1,'manual',NULL);
 /*!40000 ALTER TABLE event_type DISABLE KEYS */;  INSERT INTO event_type VALUES (2,'planed',NULL);
 LOCK TABLES event_type WRITE;  INSERT INTO event_type VALUES (3,'auto',NULL);
 INSERT INTO event_type VALUES (1,'manual',NULL),(2,'planed',NULL),(3,'auto',NULL);  
 UNLOCK TABLES;  
 /*!40000 ALTER TABLE event_type ENABLE KEYS */;  
   
 --  --
 -- Table structure for table `Event`  -- Table structure for table `Event`
Line 82  CREATE TABLE Event (
Line 79  CREATE TABLE Event (
   eventid int(10) unsigned NOT NULL auto_increment,    eventid int(10) unsigned NOT NULL auto_increment,
   active smallint(3) unsigned NOT NULL default '1',    active smallint(3) unsigned NOT NULL default '1',
   name varchar(255) default NULL,    name varchar(255) default NULL,
   description text,    description varchar(255) default NULL,
     note text,
   created datetime NOT NULL default '0000-00-00 00:00:00',    created datetime NOT NULL default '0000-00-00 00:00:00',
   changed datetime default NULL,    changed timestamp(14) NOT NULL,
   last_transaction datetime NOT NULL default '0000-00-00 00:00:00',    last_transaction datetime NOT NULL default '0000-00-00 00:00:00',
   money float NOT NULL default '0',    money float NOT NULL default '0',
   period int(10) unsigned default NULL,    period int(10) unsigned default NULL,
Line 97  CREATE TABLE Event (
Line 95  CREATE TABLE Event (
   UNIQUE KEY event_type_2 (event_type,from_source,to_source),    UNIQUE KEY event_type_2 (event_type,from_source,to_source),
   UNIQUE KEY event_type_3 (event_type,to_source),    UNIQUE KEY event_type_3 (event_type,to_source),
   UNIQUE KEY from_source_2 (from_source,to_source),    UNIQUE KEY from_source_2 (from_source,to_source),
     UNIQUE KEY name (name),
   CONSTRAINT `Event_ibfk_1` FOREIGN KEY (`event_type`) REFERENCES `event_type` (`event_type`) ON DELETE SET NULL,    CONSTRAINT `Event_ibfk_1` FOREIGN KEY (`event_type`) REFERENCES `event_type` (`event_type`) ON DELETE SET NULL,
   CONSTRAINT `Event_ibfk_2` FOREIGN KEY (`from_source`) REFERENCES `Source` (`sourceid`) ON DELETE SET NULL,    CONSTRAINT `Event_ibfk_2` FOREIGN KEY (`from_source`) REFERENCES `Source` (`sourceid`) ON DELETE SET NULL,
   CONSTRAINT `Event_ibfk_3` FOREIGN KEY (`to_source`) REFERENCES `Source` (`sourceid`) ON DELETE SET NULL    CONSTRAINT `Event_ibfk_3` FOREIGN KEY (`to_source`) REFERENCES `Source` (`sourceid`) ON DELETE SET NULL
Line 106  CREATE TABLE Event (
Line 105  CREATE TABLE Event (
 -- Dumping data for table `Event`  -- Dumping data for table `Event`
 --  --
   
   INSERT INTO Event VALUES (1,1,2,3,1,'adsfads','popiz','nazov','2004-04-11 23:52:17',20040411235217,'0000-00-00 00:00:00',100,10,'0000-00-00 00:00:00','0000-00-00 00:00:00');
 /*!40000 ALTER TABLE Event DISABLE KEYS */;  
 LOCK TABLES Event WRITE;  
 UNLOCK TABLES;  
 /*!40000 ALTER TABLE Event ENABLE KEYS */;  
   
 --  --
 -- Table structure for table `Transaction`  -- Table structure for table `Transaction`
Line 144  CREATE TABLE Transaction (
Line 139  CREATE TABLE Transaction (
 --  --
   
   
 /*!40000 ALTER TABLE Transaction DISABLE KEYS */;  
 LOCK TABLES Transaction WRITE;  
 UNLOCK TABLES;  
 /*!40000 ALTER TABLE Transaction ENABLE KEYS */;  
   
 --  --
 -- Table structure for table `SourceLog`  -- Table structure for table `SourceLog`
 --  --
Line 181  CREATE TABLE SourceLog (
Line 171  CREATE TABLE SourceLog (
 -- Dumping data for table `SourceLog`  -- Dumping data for table `SourceLog`
 --  --
   
   INSERT INTO SourceLog VALUES (1,20040409004612,'added',4,1,'teaasdf','asdfasdf','asdfasdf','2004-04-09 00:46:12','2004-04-09 00:46:12','2004-04-09 00:46:12',0,0,0,0,0,0);
 /*!40000 ALTER TABLE SourceLog DISABLE KEYS */;  INSERT INTO SourceLog VALUES (2,20040409005205,'added',5,1,'asdf','asdf','asdf','2004-04-09 00:52:05','2004-04-09 00:52:05','2004-04-09 00:52:05',0,0,0,0,0,0);
 LOCK TABLES SourceLog WRITE;  INSERT INTO SourceLog VALUES (3,20040409012151,'changed_from',5,1,'asdf','asdf','asdf','2004-04-09 01:21:51','2004-04-09 01:21:51','2004-04-09 01:21:51',0,0,0,0,0,0);
 INSERT INTO SourceLog VALUES (1,20040409004612,'added',4,1,'teaasdf','asdfasdf','asdfasdf','2004-04-09 00:46:12','2004-04-09 00:46:12','2004-04-09 00:46:12',0,0,0,0,0,0),(2,20040409005205,'added',5,1,'asdf','asdf','asdf','2004-04-09 00:52:05','2004-04-09 00:52:05','2004-04-09 00:52:05',0,0,0,0,0,0),(3,20040409012151,'changed_from',5,1,'asdf','asdf','asdf','2004-04-09 01:21:51','2004-04-09 01:21:51','2004-04-09 01:21:51',0,0,0,0,0,0),(4,20040409012151,'changed_to',5,1,'asdf','asdf','asdf','2004-04-09 01:21:51','2004-04-09 01:21:51','2004-04-09 01:21:51',0,0,0,0,0,12),(5,20040409012458,'changed_from',4,1,'teaasdf','asdfasdf','asdfasdf','2004-04-09 01:24:58','2004-04-09 01:24:58','2004-04-09 01:24:58',0,0,0,0,0,0),(6,20040409012458,'changed_to',4,0,'teaasdf','asdfasdf','asdfasdf','2004-04-09 01:24:58','2004-04-09 01:24:58','2004-04-09 01:24:58',0,0,0,0,0,0),(7,20040409012526,'changed_from',4,0,'teaasdf','asdfasdf','asdfasdf','2004-04-09 01:25:26','2004-04-09 01:25:26','2004-04-09 01:25:26',0,0,0,0,0,0),(8,20040409012526,'changed_to',4,1,'teaasdf','asdfasdf','asdfasdf','2004-04-09 01:25:26','2004-04-09 01:25:26','2004-04-09 01:25:26',0,0,0,0,0,0),(9,20040409012842,'added',6,0,'test','asdf','a sdf','2004-04-09 01:28:42','2004-04-09 01:28:42','2004-04-09 01:28:42',0,0,0,0,0,0),(10,20040409012848,'changed_from',6,0,'test','asdf','a sdf','2004-04-09 01:28:48','2004-04-09 01:28:48','2004-04-09 01:28:48',0,0,0,0,0,0),(11,20040409012848,'changed_to',6,1,'test','asdf','a sdf','2004-04-09 01:28:48','2004-04-09 01:28:48','2004-04-09 01:28:48',0,0,0,0,0,0);  INSERT INTO SourceLog VALUES (4,20040409012151,'changed_to',5,1,'asdf','asdf','asdf','2004-04-09 01:21:51','2004-04-09 01:21:51','2004-04-09 01:21:51',0,0,0,0,0,12);
 UNLOCK TABLES;  INSERT INTO SourceLog VALUES (5,20040409012458,'changed_from',4,1,'teaasdf','asdfasdf','asdfasdf','2004-04-09 01:24:58','2004-04-09 01:24:58','2004-04-09 01:24:58',0,0,0,0,0,0);
 /*!40000 ALTER TABLE SourceLog ENABLE KEYS */;  INSERT INTO SourceLog VALUES (6,20040409012458,'changed_to',4,0,'teaasdf','asdfasdf','asdfasdf','2004-04-09 01:24:58','2004-04-09 01:24:58','2004-04-09 01:24:58',0,0,0,0,0,0);
   INSERT INTO SourceLog VALUES (7,20040409012526,'changed_from',4,0,'teaasdf','asdfasdf','asdfasdf','2004-04-09 01:25:26','2004-04-09 01:25:26','2004-04-09 01:25:26',0,0,0,0,0,0);
   INSERT INTO SourceLog VALUES (8,20040409012526,'changed_to',4,1,'teaasdf','asdfasdf','asdfasdf','2004-04-09 01:25:26','2004-04-09 01:25:26','2004-04-09 01:25:26',0,0,0,0,0,0);
   INSERT INTO SourceLog VALUES (9,20040409012842,'added',6,0,'test','asdf','a sdf','2004-04-09 01:28:42','2004-04-09 01:28:42','2004-04-09 01:28:42',0,0,0,0,0,0);
   INSERT INTO SourceLog VALUES (10,20040409012848,'changed_from',6,0,'test','asdf','a sdf','2004-04-09 01:28:48','2004-04-09 01:28:48','2004-04-09 01:28:48',0,0,0,0,0,0);
   INSERT INTO SourceLog VALUES (11,20040409012848,'changed_to',6,1,'test','asdf','a sdf','2004-04-09 01:28:48','2004-04-09 01:28:48','2004-04-09 01:28:48',0,0,0,0,0,0);
   INSERT INTO SourceLog VALUES (12,20040411234106,'',1,1,'Zoznam s.r.o.',NULL,NULL,'0000-00-00 00:00:00','2004-02-09 22:17:31','0000-00-00 00:00:00',0,0,0,3000,10000,15000);
   INSERT INTO SourceLog VALUES (13,20040411234106,'',1,1,'xxxx','','','0000-00-00 00:00:00','2004-02-09 22:17:31','0000-00-00 00:00:00',0,0,0,3000,10000,15000);
   INSERT INTO SourceLog VALUES (15,20040411234416,'changed_from',1,1,'xxxx','','','2004-02-09 22:17:31','2004-04-11 23:41:06','0000-00-00 00:00:00',0,0,0,3000,10000,15000);
   INSERT INTO SourceLog VALUES (16,20040411234416,'changed_to',1,1,'xxxxxx','','','2004-02-09 22:17:31','2004-04-11 23:41:06','0000-00-00 00:00:00',0,0,0,3000,10000,15000);
   INSERT INTO SourceLog VALUES (17,20040411234633,'added',7,1,'sdfasdf asdasdf','popis','pozn. ',NULL,NULL,NULL,2,3,1,1,2,3);
   
 --  --
 -- Table structure for table `EventLog`  -- Table structure for table `EventLog`
Line 201  CREATE TABLE EventLog (
Line 201  CREATE TABLE EventLog (
   event_type int(10) unsigned NOT NULL default '0',    event_type int(10) unsigned NOT NULL default '0',
   active smallint(3) unsigned NOT NULL default '1',    active smallint(3) unsigned NOT NULL default '1',
   name varchar(255) default NULL,    name varchar(255) default NULL,
   description text,    description varchar(255) default NULL,
     note text,
   created datetime default NULL,    created datetime default NULL,
   changed datetime default NULL,    changed datetime default NULL,
   last_transaction datetime default NULL,    last_transaction datetime default NULL,
Line 220  CREATE TABLE EventLog (
Line 221  CREATE TABLE EventLog (
 -- Dumping data for table `EventLog`  -- Dumping data for table `EventLog`
 --  --
   
   INSERT INTO EventLog VALUES (1,20040411235217,'added',3,1,1,'adsfads','popiz','nazov',NULL,NULL,NULL,100,1,2,10,'0000-00-00 00:00:00','0000-00-00 00:00:00');
 /*!40000 ALTER TABLE EventLog DISABLE KEYS */;  
 LOCK TABLES EventLog WRITE;  
 UNLOCK TABLES;  
 /*!40000 ALTER TABLE EventLog ENABLE KEYS */;  
   

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top