db.c: Move the schema revision check after creating the tables

When starting the first time there are no tables, doing a revision
check will fail and bsc_hack will exit without tables created. Do
the revision check within db_prepare and allow new tables to be
created before.
1 file changed
tree: e836a2ddef56ae7318e0a4a7a78c140a5fcd2037
  1. linux-kernel/
  2. openbsc/
  3. wireshark/