MySQL5.5 code fix for .sql files; changed TYPE= to ENGINE=
[openemr.git] / contrib / forms / rom / table.sql
blobc634d7d88597623ea1842355079ee6aac3660124
1 CREATE TABLE IF NOT EXISTS `form_rom` (
2   `id`                  bigint(20)   NOT NULL auto_increment,
3   `date`                datetime     DEFAULT NULL,
4   `pid`                 bigint(20)   NOT NULL DEFAULT 0,
5   `user`                varchar(255) DEFAULT NULL,
6   `groupname`           varchar(255) DEFAULT NULL,
7   `authorized`          tinyint(4)   NOT NULL DEFAULT 0,
8   `activity`            tinyint(4)   NOT NULL DEFAULT 0,
9 `r1_1_active` text NOT NULL default '',
10 `r1_1_passive` text NOT NULL default '',
11 `r1_2_active` text NOT NULL default '',
12 `r1_2_passive` text NOT NULL default '',
13 `r1_3_active` text NOT NULL default '',
14 `r1_3_passive` text NOT NULL default '',
15 `r1_4_active` text NOT NULL default '',
16 `r1_4_passive` text NOT NULL default '',
17 `r1_5_active` text NOT NULL default '',
18 `r1_5_passive` text NOT NULL default '',
19 `r1_6_active` text NOT NULL default '',
20 `r1_6_passive` text NOT NULL default '',
21 `r1_7_active` text NOT NULL default '',
22 `r1_7_passive` text NOT NULL default '',
23 `r1_8_active` text NOT NULL default '',
24 `r1_8_passive` text NOT NULL default '',
25 `r1_9_active` text NOT NULL default '',
26 `r1_9_passive` text NOT NULL default '',
27 `r1_10_active` text NOT NULL default '',
28 `r1_10_passive` text NOT NULL default '',
29 `r1_11_active` text NOT NULL default '',
30 `r1_11_passive` text NOT NULL default '',
31 `r1_12_active` text NOT NULL default '',
32 `r1_12_passive` text NOT NULL default '',
33 `r2_1_rt_active` text NOT NULL default '',
34 `r2_1_rt_passive` text NOT NULL default '',
35 `r2_1_lf_active` text NOT NULL default '',
36 `r2_1_lf_passive` text NOT NULL default '',
37 `r2_2_rt_active` text NOT NULL default '',
38 `r2_2_rt_passive` text NOT NULL default '',
39 `r2_2_lf_active` text NOT NULL default '',
40 `r2_2_lf_passive` text NOT NULL default '',
41 `r2_3_rt_active` text NOT NULL default '',
42 `r2_3_rt_passive` text NOT NULL default '',
43 `r2_3_lf_active` text NOT NULL default '',
44 `r2_3_lf_passive` text NOT NULL default '',
45 `r2_4_rt_active` text NOT NULL default '',
46 `r2_4_rt_passive` text NOT NULL default '',
47 `r2_4_lf_active` text NOT NULL default '',
48 `r2_4_lf_passive` text NOT NULL default '',
49 `r2_5_rt_active` text NOT NULL default '',
50 `r2_5_rt_passive` text NOT NULL default '',
51 `r2_5_lf_active` text NOT NULL default '',
52 `r2_5_lf_passive` text NOT NULL default '',
53 `r2_6_rt_active` text NOT NULL default '',
54 `r2_6_rt_passive` text NOT NULL default '',
55 `r2_6_lf_active` text NOT NULL default '',
56 `r2_6_lf_passive` text NOT NULL default '',
57 `r3_1_rt_active` text NOT NULL default '',
58 `r3_1_rt_passive` text NOT NULL default '',
59 `r3_1_lf_active` text NOT NULL default '',
60 `r3_1_lf_passive` text NOT NULL default '',
61 `r3_2_rt_active` text NOT NULL default '',
62 `r3_2_rt_passive` text NOT NULL default '',
63 `r3_2_lf_active` text NOT NULL default '',
64 `r3_2_lf_passive` text NOT NULL default '',
65 `r3_3_rt_active` text NOT NULL default '',
66 `r3_3_rt_passive` text NOT NULL default '',
67 `r3_3_lf_active` text NOT NULL default '',
68 `r3_3_lf_passive` text NOT NULL default '',
69 `r3_4_rt_active` text NOT NULL default '',
70 `r3_4_rt_passive` text NOT NULL default '',
71 `r3_4_lf_active` text NOT NULL default '',
72 `r3_4_lf_passive` text NOT NULL default '',
73 `r3_5_rt_active` text NOT NULL default '',
74 `r3_5_rt_passive` text NOT NULL default '',
75 `r3_5_lf_active` text NOT NULL default '',
76 `r3_5_lf_passive` text NOT NULL default '',
77 `r3_6_rt_active` text NOT NULL default '',
78 `r3_6_rt_passive` text NOT NULL default '',
79 `r3_6_lf_active` text NOT NULL default '',
80 `r3_6_lf_passive` text NOT NULL default '',
81 `r3_7_rt_active` text NOT NULL default '',
82 `r3_7_rt_passive` text NOT NULL default '',
83 `r3_7_lf_active` text NOT NULL default '',
84 `r3_7_lf_passive` text NOT NULL default '',
85 `r3_8_rt_active` text NOT NULL default '',
86 `r3_8_rt_passive` text NOT NULL default '',
87 `r3_8_lf_active` text NOT NULL default '',
88 `r3_8_lf_passive` text NOT NULL default '',
89 `r3_9_rt_active` text NOT NULL default '',
90 `r3_9_rt_passive` text NOT NULL default '',
91 `r3_9_lf_active` text NOT NULL default '',
92 `r3_9_lf_passive` text NOT NULL default '',
93 `r3_10_rt_active` text NOT NULL default '',
94 `r3_10_rt_passive` text NOT NULL default '',
95 `r3_10_lf_active` text NOT NULL default '',
96 `r3_10_lf_passive` text NOT NULL default '',
97 `r3_11_rt_active` text NOT NULL default '',
98 `r3_11_rt_passive` text NOT NULL default '',
99 `r3_11_lf_active` text NOT NULL default '',
100 `r3_11_lf_passive` text NOT NULL default '',
101 `r3_12_rt_active` text NOT NULL default '',
102 `r3_12_rt_passive` text NOT NULL default '',
103 `r3_12_lf_active` text NOT NULL default '',
104 `r3_12_lf_passive` text NOT NULL default '',
105 `r3_13_rt_active` text NOT NULL default '',
106 `r3_13_rt_passive` text NOT NULL default '',
107 `r3_13_lf_active` text NOT NULL default '',
108 `r3_13_lf_passive` text NOT NULL default '',
109 `r3_14_rt_active` text NOT NULL default '',
110 `r3_14_rt_passive` text NOT NULL default '',
111 `r3_14_lf_active` text NOT NULL default '',
112 `r3_14_lf_passive` text NOT NULL default '',
113 `r3_15_rt_active` text NOT NULL default '',
114 `r3_15_rt_passive` text NOT NULL default '',
115 `r3_15_lf_active` text NOT NULL default '',
116 `r3_15_lf_passive` text NOT NULL default '',
117 `r3_16_rt_active` text NOT NULL default '',
118 `r3_16_rt_passive` text NOT NULL default '',
119 `r3_16_lf_active` text NOT NULL default '',
120 `r3_16_lf_passive` text NOT NULL default '',
121 `r3_17_rt_active` text NOT NULL default '',
122 `r3_17_rt_passive` text NOT NULL default '',
123 `r3_17_lf_active` text NOT NULL default '',
124 `r3_17_lf_passive` text NOT NULL default '',
125 `r3_18_rt_active` text NOT NULL default '',
126 `r3_18_rt_passive` text NOT NULL default '',
127 `r3_18_lf_active` text NOT NULL default '',
128 `r3_18_lf_passive` text NOT NULL default '',
129 `r3_19_rt_active` text NOT NULL default '',
130 `r3_19_rt_passive` text NOT NULL default '',
131 `r3_19_lf_active` text NOT NULL default '',
132 `r3_19_lf_passive` text NOT NULL default '',
133 `r3_20_rt_active` text NOT NULL default '',
134 `r3_20_rt_passive` text NOT NULL default '',
135 `r3_20_lf_active` text NOT NULL default '',
136 `r3_20_lf_passive` text NOT NULL default '',
137 `r4_1_rt_active` text NOT NULL default '',
138 `r4_1_rt_passive` text NOT NULL default '',
139 `r4_1_lf_active` text NOT NULL default '',
140 `r4_1_lf_passive` text NOT NULL default '',
141 `r4_2_rt_active` text NOT NULL default '',
142 `r4_2_rt_passive` text NOT NULL default '',
143 `r4_2_lf_active` text NOT NULL default '',
144 `r4_2_lf_passive` text NOT NULL default '',
145 `r4_3_rt_active` text NOT NULL default '',
146 `r4_3_rt_passive` text NOT NULL default '',
147 `r4_3_lf_active` text NOT NULL default '',
148 `r4_3_lf_passive` text NOT NULL default '',
149 `r4_4_rt_active` text NOT NULL default '',
150 `r4_4_rt_passive` text NOT NULL default '',
151 `r4_4_lf_active` text NOT NULL default '',
152 `r4_4_lf_passive` text NOT NULL default '',
153 `r4_5_rt_active` text NOT NULL default '',
154 `r4_5_rt_passive` text NOT NULL default '',
155 `r4_5_lf_active` text NOT NULL default '',
156 `r4_5_lf_passive` text NOT NULL default '',
157 `r4_6_rt_active` text NOT NULL default '',
158 `r4_6_rt_passive` text NOT NULL default '',
159 `r4_6_lf_active` text NOT NULL default '',
160 `r4_6_lf_passive` text NOT NULL default '',
161 `r4_7_rt_active` text NOT NULL default '',
162 `r4_7_rt_passive` text NOT NULL default '',
163 `r4_7_lf_active` text NOT NULL default '',
164 `r4_7_lf_passive` text NOT NULL default '',
165 `notes` text NOT NULL default '',
166   PRIMARY KEY (id)
167 ) ENGINE=InnoDB;