nBill Community nBill Home Page
22/May/2012, 11:59:53 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Click Here for the nBill home page, or take a tour.  
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: nBill Tables on Innodb  (Read 81 times)
Brock Palen
Jr. Member
**
Offline Offline

Posts: 29


View Profile
« on: 15/January/2012, 07:00:52 PM »

I was switching all my tables in my DB to innodb so I can use mysqldump --single-transaction --flush-logs to get consistant backups where I can recovery with the binary log.

In the process though all large segment of the Nbill tables failed to convert with the error:

alter table `preifx_nbill_client_credit` ENGINE=InnoDB;
ERROR 1075 (42000): Incorrect table definition; there can be only one auto column and it must be defined as a key


Are there any chance that nbill schema should be converted to work with innodb?  If so any plans to resolve this issue?
Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #1 on: 15/January/2012, 08:03:12 PM »

Actually, the entity_id column should not auto increment - you can remove that flag. I will update on the next release.
Logged
Brock Palen
Jr. Member
**
Offline Offline

Posts: 29


View Profile
« Reply #2 on: 15/January/2012, 08:27:36 PM »

Got it thanks!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!