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:
|
CREATE TABLE `bb1_access` (
`boardid` int( 11 ) unsigned NOT NULL default '0',
`userid` int( 11 ) unsigned NOT NULL default '0',
`can_view_board` tinyint( 1 ) NOT NULL default '-1',
`can_enter_board` tinyint( 1 ) NOT NULL default '-1',
`can_read_thread` tinyint( 1 ) NOT NULL default '-1',
`can_start_topic` tinyint( 1 ) NOT NULL default '-1',
`can_reply_topic` tinyint( 1 ) NOT NULL default '-1',
`can_post_poll` tinyint( 1 ) NOT NULL default '-1',
`can_upload_attachments` tinyint( 1 ) NOT NULL default '-1',
`can_download_attachments` tinyint( 1 ) NOT NULL default '-1',
`can_post_without_moderation` tinyint( 1 ) NOT NULL default '-1',
`can_close_own_topic` tinyint( 1 ) NOT NULL default '-1',
`can_use_search` tinyint( 1 ) NOT NULL default '-1',
`can_vote_poll` tinyint( 1 ) NOT NULL default '-1',
`can_rate_thread` tinyint( 1 ) NOT NULL default '-1',
`can_del_own_post` tinyint( 1 ) NOT NULL default '-1',
`can_edit_own_post` tinyint( 1 ) NOT NULL default '-1',
`can_del_own_topic` tinyint( 1 ) NOT NULL default '-1',
`can_edit_own_topic` tinyint( 1 ) NOT NULL default '-1',
`can_move_own_topic` tinyint( 1 ) NOT NULL default '-1',
`can_use_post_html` tinyint( 1 ) NOT NULL default '-1',
`can_use_post_bbcode` tinyint( 1 ) NOT NULL default '-1',
`can_use_post_smilies` tinyint( 1 ) NOT NULL default '-1',
`can_use_post_icons` tinyint( 1 ) NOT NULL default '-1',
`can_use_post_images` tinyint( 1 ) NOT NULL default '-1',
PRIMARY KEY ( `userid` , `boardid` )
) ENGINE = MYISAM DEFAULT;
|