Did you supply the richt environment? i.e.

 

Rake db:migrate RAILS_ENV=production

 

To migrate your production database

 

Reinier

 

Van: [email protected]
[mailto:[email protected]] Namens sean
Verzonden: donderdag 5 januari 2012 16:40
Aan: [email protected]
Onderwerp: [Tracks-discuss] upgrade help

 

when I run rake db:migrate I get

Mysql::Error: Table 'contexts' already exists: CREATE TABLE `contexts` (`id`
int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) NOT
NULL, `position` int(11) NOT NULL, `hide` tinyint(1) DEFAULT 0)
ENGINE=InnoDB

and the rake is aborted

_______________________________________________
Tracks-discuss mailing list
[email protected]
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss

Reply via email to