sql: fully convert oracle to mysql

All tables and foreign keys are now in the right format :)

Signed-off-by: Blechd0se <alex.christ@hotmail.de>
sql: active auto increment on each primary key

We won't need triggers nor sequences, mysql has got
a auto increment feature. Enable it with default
steps (1).

Signed-off-by: Blechd0se <alex.christ@hotmail.de>