-
Notifications
You must be signed in to change notification settings - Fork 0
/
tbl_template.sql
executable file
·39 lines (34 loc) · 979 Bytes
/
tbl_template.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/* =================================================
*
* Entity Name: 'tbl_template.sql'
* Description:
*
*
* $Id: tbl_template.sql,v 1.1 2007/05/21 06:38:24 nweeks Exp $
*
* $Log: tbl_template.sql,v $
* Revision 1.1 2007/05/21 06:38:24 nweeks
* Initial revision
*
*
* =================================================
*/
select 'Linking DNA tbl_template.sql...' from rdb$database;
select 'Linking DNA tbl_template' from rdb$database;
/* --- Page Templates ---
*
* All pages are based on templates
* that have tags in them, that are replaced by content
* from a database
*
* This allows site-wide changes to happen instantly
*/
CREATE TABLE tbl_template (
int_templateid INTEGER NOT NULL,
str_name VARCHAR(64) NOT NULL,
str_desc VARCHAR(256),
str_previewimage VARCHAR(32),
blb_data BLOB SUB_TYPE TEXT, /* Somewhere to store the markup, with tags to substitute in */
PRIMARY KEY(int_templateid)
);
CREATE GENERATOR GEN_TBL_TEMPLATE;