projects
/
eq
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linked district table to leader table by leader id, removed district field from leade...
[eq/.git]
/
sql
/
tc.sql
diff --git
a/sql/tc.sql
b/sql/tc.sql
index ce19e36d3adc7a34635dac1c8b5ea753f4f0d80d..9aaff5ea88d60bab34c31e3f5ceb3462edeaf34c 100644
(file)
--- a/
sql/tc.sql
+++ b/
sql/tc.sql
@@
-161,11
+161,8
@@
CREATE TABLE /*!42501 IF NOT EXISTS*/ `tc_interview` (
CREATE TABLE /*!42501 IF NOT EXISTS*/ `tc_leader` (
`leader` int(16) unsigned NOT NULL auto_increment,
`individual` int(16) unsigned NOT NULL default '0',
CREATE TABLE /*!42501 IF NOT EXISTS*/ `tc_leader` (
`leader` int(16) unsigned NOT NULL auto_increment,
`individual` int(16) unsigned NOT NULL default '0',
- `district` int(16) unsigned default '0',
`email` varchar(60) NOT NULL,
`email` varchar(60) NOT NULL,
- `president` tinyint(1) default '0',
- `counselor` tinyint(1) default '0',
- `secretary` tinyint(1) default '0',
+ `type` enum( 'P', 'C', 'S', 'D' ) NOT NULL,
`valid` tinyint(1) default '1',
KEY `leader` (`leader`),
KEY `individual` (`individual`)
`valid` tinyint(1) default '1',
KEY `leader` (`leader`),
KEY `individual` (`individual`)