cubicweb #810743 cubicweb-ctl db-init -d can fail if schema was changed [done]

When running cubicweb-ctl db-init -d the schema of the existing instance must be used to find which tables must be dropped, otherwise it will fail.

prioritynormal
typebug
appeared in<not specified>
done in3.16.2
load1.500
load left0.000
closed by#8882:1f3757ef3762
patch[server] *init_repository* lookup the database instead of the schema to drop tables (closes #810743) [applied]