kiswa / TaskBoard

A Kanban-inspired app for keeping track of things that need to get done. (Don't forget to read the Wiki page!)
http://taskboard.matthewross.me
MIT License
1.38k stars 303 forks source link

MySQL and Postgres support #404

Closed dgonzf closed 6 years ago

dgonzf commented 6 years ago

A suggestion, in this moment TaskBoard only supports SQLite databases, I think it would be interesting to be able to use other databases such as MySQL/MariaDB and Postgres likes Kanboard.

kiswa commented 6 years ago

TaskBoard defaults to SQLite. You can alter the settings in api.php to use any database supported by RedBeanPHP.

gusarg81 commented 4 years ago

Hi, this can be done still in latest release?

EDIT: changing index.php would be enough?

from: R::setup('sqlite:taskboard.sqlite');

to: R::setup( 'mysql:host=localhost;dbname=mydatabase', 'user', 'password' );

kiswa commented 4 years ago

It can, and correct on doing it.

gusarg81 commented 4 years ago

It can, and correct on doing it.

Ok, and does not need previous SQL structure?

kiswa commented 4 years ago

Nope, the database is created when accessed, as that's what RedBeanPHP does.