mss_dataserver.core.database_util.remove_unique_constraint

mss_dataserver.core.database_util.remove_unique_constraint(engine, table, name)[source]

Remove a unique constraint from the table using the constraint name.

Parameters
  • engine (sqlalchemy.engine.Engine) – The sqlalchemy database Engine.

  • table (sqlalchemy.schema.Table) – The table to migrate.

  • name (String) – The name of the contraint.