Create table if such does not exists (with foreign keys).