Open Bug 305411 Opened 19 years ago Updated 10 years ago

Checksetup should detect if tables exist in the Schema but are missing from the DB, and recreate them

Categories

(Bugzilla :: Installation & Upgrading, enhancement)

2.21
enhancement
Not set
normal

Tracking

()

People

(Reporter: bugreport, Unassigned)

Details

During developement, patching, and (sometimes) administration, it is necessary
to drop a table and rerun checksetup.   Checksetup used to always re-create any
tables that were missing altogether.  It no longer does this.

We need a mechanism to force checksetup to create mising tables even if the
serialized schema claims they exist.  It may be necessary to have the force
operation accept the name of the missing table.
In general, we could have checksetup do certain schema-consistency checks before
creating anything, if a schema existed already. I think that would be the best
way to handle this.

But this would be the first step of that, anyhow.
Summary: Add forced table re-creation to checksetup → Checkseutp should detect if tables exist in the Schema but are missing from the DB
see also bug 300452
Summary: Checkseutp should detect if tables exist in the Schema but are missing from the DB → Checksetup should detect if tables exist in the Schema but are missing from the DB, and recreate them
You need to log in before you can comment on or make changes to this bug.