foradian / fluxday

A user-friendly, free & opensource task & productivity management tool for growing startups
http://fluxday.io/
Apache License 2.0
476 stars 174 forks source link

DB creation error #8

Closed osteth closed 8 years ago

osteth commented 8 years ago

I am getting an error building out the DB. I think it has to do with the version of ruby and mysql. it looks like this problem has been fixed in the latest version but still persists in 2.1.0 will fluxday work with the current ruby?

rake db:migrate (in /root/fluxday) == CreateProjects: migrating ================================================= -- create_table(:projects) rake aborted! StandardError: An error has occurred, all later migrations canceled:

Mysql2::Error: All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead: CREATE TABLE projects (id int(11) DEFAULT NULL auto_increment PRIMARY KEY, name varchar(255), code varchar(255), description text, is_deleted tinyint(1) DEFAULT 0, created_at datetime, updated_at datetime) ENGINE=InnoDB

tachyons commented 8 years ago

Duplicate of #5 ?

osteth commented 8 years ago

aah, yeah, that looks to be the same issue. Closing