mss_dataserver.core.database_util.remove_foreign_key

mss_dataserver.core.database_util.remove_foreign_key(engine, table, fk_symbol)[source]

Remove a foreign key.

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

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

  • fk_symbol (String) – The name of the foreign key.