terugdraaien sql actie
Geplaatst: 25 dec 2005, 14:20
ik heb de volgende queries uitgevoerd:
kan ik deze terugdraaien?
btw, mijn tabellen hebben de prefix TTBB ipv phpbb
(ik heb deze actie uitgevoerd met een php file die deze tabellen automatisch invoerde, dus ze zijn wel in de TTBB_ tabellen ingevoerd)
hopelijk kan iemand hiermee helpen, ik hoop dat mijn onderwerp hier juist staat want dit heeft niks met modden te maken of stijlen dusja;
Groeten
Code: Selecteer alles
$sql=array(
'INSERT INTO '.AUTHS_DEF_TABLE.' ( `auth_type` , `auth_name` , `auth_order` ) VALUES ("f", "auth_bluecard", "150")',
'INSERT INTO '.AUTHS_DEF_TABLE.' ( `auth_type` , `auth_name` , `auth_order` ) VALUES ("f", "auth_greencard", "160")',
'INSERT INTO '.AUTHS_DEF_TABLE.' ( `auth_type` , `auth_name` , `auth_order` ) VALUES ("f", "auth_yellowcard", "170")',
'INSERT INTO '.AUTHS_DEF_TABLE.' ( `auth_type` , `auth_name` , `auth_order` ) VALUES ("f", "auth_redcard", "180")',
'INSERT INTO '.CONFIG_TABLE.' (config_name, config_value) VALUES ("bluecard_limit", "3")',
'INSERT INTO '.CONFIG_TABLE.' (config_name, config_value) VALUES ("bluecard_limit_2", "1")',
'INSERT INTO '.CONFIG_TABLE.' (config_name, config_value) VALUES ("max_user_bancard", "10")',
'INSERT INTO '.CONFIG_TABLE.' (config_name, config_value) VALUES ("report_forum", "0")',
'ALTER TABLE '.USERS_TABLE.' ADD user_warnings SMALLINT (5) DEFAULT "0"',
'ALTER TABLE '.POSTS_TABLE.' ADD post_bluecard TINYINT (1)'
);
$mods = array (
'Yellow Card Mod','Yellow Card Mod','Yellow Card Mod','Yellow Card Mod',
'Yellow Card Mod','Yellow Card Mod','Yellow Card Mod','Yellow Card Mod',
'Yellow Card Mod','Yellow Card Mod'
);
btw, mijn tabellen hebben de prefix TTBB ipv phpbb
(ik heb deze actie uitgevoerd met een php file die deze tabellen automatisch invoerde, dus ze zijn wel in de TTBB_ tabellen ingevoerd)
hopelijk kan iemand hiermee helpen, ik hoop dat mijn onderwerp hier juist staat want dit heeft niks met modden te maken of stijlen dusja;
Groeten