View Single Post
  #2  
Old 01-22-2010, 10:02 PM
powerchaos's Avatar
powerchaos powerchaos is offline
WebMaster
 
Join Date: May 2008
Posts: 130
Gender: Male
Credits: 10,362
powerchaos
Send a message via AIM to powerchaos Send a message via MSN to powerchaos
Default RE: Adding a column to owned_adoptables?

doesnt the script does it for you ?? the installer ??

els open install.sql and find that rule in there , copy that rule and edit a little so it fits your database
then enter it into your database (dont forget to take the first lines to , to inport the file manual then it looks like this )

NOTE : THIS IS A EXAMPLE AND CAN NOT BE USED
PHP Code:
--
-- 
table structures for table `styles`
--

DROP TABLE IF EXISTS `styles`;
CREATE TABLE IF NOT EXISTS `styles` (
  `
idint(100NOT NULL auto_increment,
  `
activechar(1NOT NULL default '',
  `
namevarchar(100NOT NULL default '',
  `
dirvarchar(40NOT NULL default '',
  
PRIMARY KEY  (`id`)
ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=;

--
-- 
data get executed for table `styles`
--

INSERT INTO `styles` (`id`, `active`, `name`, `dir`) VALUES
(1'1''Elite Ladders Default''default');

-- -------------------------------------------------------- 
now , get that second part and change it to the right value's so you see like it is

if it got a table prefix , make it then like this
PHP Code:
INSERT INTO `PREFIX_styles` (`id`, `active`, `name`, `dir`) VALUES
(1'1''Elite Ladders Default''default'); 
and it will be fine :D

Greets From PowerChaos
Reply With Quote