Updates database to version 2

Despite all the activity with the new features noboby noticed that
the database is still on version 1.
Fixes bug preventing enterprise creation

Due to cyclic requirements when creating enterprises and airports
a NullPointerException was triggered, which gets fixed with this
commit.