This repository was archived by the owner on May 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathschema.sql
More file actions
82 lines (61 loc) · 2.42 KB
/
schema.sql
File metadata and controls
82 lines (61 loc) · 2.42 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# Dump of table canvashacks
# ------------------------------------------------------------
CREATE TABLE IF NOT EXISTS `canvashacks` (
`id` varchar(255) NOT NULL DEFAULT '',
`name` text NOT NULL,
`abstract` varchar(512) DEFAULT NULL,
`description` text NOT NULL,
`authors` text,
`path` text NOT NULL,
`enabled` tinyint(1) NOT NULL DEFAULT '0',
`modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
# Dump of table css
# ------------------------------------------------------------
CREATE TABLE IF NOT EXISTS `css` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`canvashack` varchar(255) NOT NULL DEFAULT '',
`path` text NOT NULL,
`modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
# Dump of table dom
# ------------------------------------------------------------
CREATE TABLE IF NOT EXISTS `dom` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`canvashack` varchar(255) NOT NULL DEFAULT '',
`page` varchar(32) DEFAULT '',
`selector` text NOT NULL,
`event` text NOT NULL,
`action` text,
`modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
KEY `canvashack` (`canvashack`),
KEY `page` (`page`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
# Dump of table javascript
# ------------------------------------------------------------
CREATE TABLE IF NOT EXISTS `javascript` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`canvashack` varchar(255) NOT NULL DEFAULT '',
`path` text NOT NULL,
`modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
# Dump of table pages
# ------------------------------------------------------------
CREATE TABLE `pages` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`canvashack` varchar(255) NOT NULL DEFAULT '',
`identifier` varchar(32) NOT NULL DEFAULT '',
`url` text,
`pattern` text,
`include` tinyint(1) NOT NULL DEFAULT '1',
`modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
KEY `canvashack` (`canvashack`),
KEY `identifier` (`identifier`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
# Dump of table user_tokens
# ------------------------------------------------------------