[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[3482] trunk



Revision: 3482
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3482&view=rev
Author:   einhverfr
Date:     2011-07-10 10:25:55 +0000 (Sun, 10 Jul 2011)

Log Message:
-----------
file attachment view catalog added

Modified Paths:
--------------
    trunk/dists/source/build.sh
    trunk/sql/Pg-database.sql
    trunk/sql/modules/test/System.sql

Added Paths:
-----------
    trunk/sql/upgrade/3482-file_view_catelog.sql

Modified: trunk/dists/source/build.sh
===================================================================
--- trunk/dists/source/build.sh	2011-07-10 08:57:16 UTC (rev 3481)
+++ trunk/dists/source/build.sh	2011-07-10 10:25:55 UTC (rev 3482)
@@ -2,7 +2,7 @@
 
 # Simple script to prepare for release
 
-version="1.3.0_beta-4";
+version="1.3.0_snapshot20110710";
 build_d="../release";
 
 if test -d $build_d/ledgersmb; then

Modified: trunk/sql/Pg-database.sql
===================================================================
--- trunk/sql/Pg-database.sql	2011-07-10 08:57:16 UTC (rev 3481)
+++ trunk/sql/Pg-database.sql	2011-07-10 10:25:55 UTC (rev 3482)
@@ -3798,4 +3798,9 @@
        new.attached_by,
        coalesce(new.attached_at, now()));
 
+CREATE TABLE file_view_catalog (
+       file_class int references file_class(id) primary key,
+       view_name text not null unique
+);
+
 commit;

Modified: trunk/sql/modules/test/System.sql
===================================================================
--- trunk/sql/modules/test/System.sql	2011-07-10 08:57:16 UTC (rev 3481)
+++ trunk/sql/modules/test/System.sql	2011-07-10 10:25:55 UTC (rev 3482)
@@ -31,6 +31,7 @@
 insert into test_exempt_tables values ('pg_ts_cfgmap', 'security definer only');
 insert into test_exempt_tables values ('pg_ts_dict', 'security definer only');
 insert into test_exempt_tables values ('pg_ts_parser', 'security definer only');
+insert into test_exempt_tables values ('file_view_catalog', 'addon installaiton only');
 
 insert into test_exempt_tables 
 values ('person_to_company', 'Unused in core, for addons only');

Added: trunk/sql/upgrade/3482-file_view_catelog.sql
===================================================================
--- trunk/sql/upgrade/3482-file_view_catelog.sql	                        (rev 0)
+++ trunk/sql/upgrade/3482-file_view_catelog.sql	2011-07-10 10:25:55 UTC (rev 3482)
@@ -0,0 +1,4 @@
+CREATE TABLE file_view_catalog (
+       file_class int references file_class(id) primary key,
+       view_name text not null unique
+);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.