projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d6ffa2
)
sql/core_template.sql
author
Alan Knowles
<alan@roojs.com>
Tue, 1 Dec 2020 07:49:44 +0000
(15:49 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 1 Dec 2020 07:49:44 +0000
(15:49 +0800)
sql/core_template.sql
[new file with mode: 0644]
patch
|
blob
diff --git a/sql/core_template.sql
b/sql/core_template.sql
new file mode 100644
(file)
index 0000000..
62c8a04
--- /dev/null
+++ b/
sql/core_template.sql
@@ -0,0
+1,11
@@
+-- template .
+CREATE TABLE core_template (
+ id int(11) NOT NULL AUTO_INCREMENT,
+ template varchar(254) NOT NULL,
+ updated datetime NOT NULL,
+ lang varchar(6) NOT NULL,
+ PRIMARY KEY (id),
+ INDEX lookup(template, lang)
+);
+
+ALTER TABLE core_template ADD COLUMN view_name varchar(32) NOT NULL default '';