Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
acs-content-repository
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
acs-content-repository
Commits
81e9ca28
Commit
81e9ca28
authored
Dec 16, 2011
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Added some debugging
parent
d97b6516
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
content-type.sql
sql/postgresql/content-type.sql
+4
-4
No files found.
sql/postgresql/content-type.sql
View file @
81e9ca28
...
...
@@ -68,16 +68,16 @@ begin
end if;
end if;
-- create the attribute table if not already created
select count(*) > 0 into v_temp_p
from pg_class
select count(*) > 0 into v_temp_p from pg_class
where relname = lower(create_type__table_name);
if NOT v_temp_p and create_type__table_name is not null then
select table_name into v_supertype_table from acs_object_types
where object_type = create_type__supertype;
raise NOTICE
''
content_type__create_type: table_name=%, id_column=%, supertype_table=%
''
,
create_type__table_name, create_type__id_column, v_supertype_table;
execute
''
create table
''
|| create_type__table_name ||
''
(
''
||
create_type__id_column ||
''
integer constraint
''
|| create_type__table_name ||
''
_pk primary key
''
||
''
constraint
''
|| create_type__table_name ||
''
_fk references
''
|| v_supertype_table ||
''
)
''
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment