[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb: [223] trunk/sql/Pg-tables.sql
- Subject: SF.net SVN: ledger-smb: [223] trunk/sql/Pg-tables.sql
- From: ..hidden..
- Date: Tue, 17 Oct 2006 16:56:44 -0700
Revision: 223
http://svn.sourceforge.net/ledger-smb/?rev=223&view=rev
Author: einhverfr
Date: 2006-10-17 16:56:43 -0700 (Tue, 17 Oct 2006)
Log Message:
-----------
Added default tax modules to Pg-tables.sql
Modified Paths:
--------------
trunk/sql/Pg-tables.sql
Modified: trunk/sql/Pg-tables.sql
===================================================================
--- trunk/sql/Pg-tables.sql 2006-10-17 23:47:58 UTC (rev 222)
+++ trunk/sql/Pg-tables.sql 2006-10-17 23:56:43 UTC (rev 223)
@@ -254,7 +254,7 @@
taxnumber text,
validto date,
pass integer DEFAULT 0 NOT NULL,
- taxmodule_id int,
+ taxmodule_id int DEFAULT 1 NOT NULL,
FOREIGN KEY (chart_id) REFERENCES chart (id),
FOREIGN KEY (taxmodule_id) REFERENCES taxmodule (taxmodule_id)
);
@@ -706,3 +706,9 @@
field_name TEXT
);
INSERT INTO defaults (version) VALUES ('2.6.18');
+
+INSERT INTO taxmodule (
+ taxmodule_id, taxmodulename
+ ) VALUES (
+ 1, 'Simple'
+);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.