local operations = require "kong.db.migrations.operations.200_to_210"


local plugin_entities = {
  {
    name = "basicauth_credentials",
    primary_key = "id",
    uniques = {"username"},
    fks = {{name = "consumer", reference = "consumers", on_delete = "cascade"}},
  }
}


return operations.ws_migrate_plugin(plugin_entities)
