Using the organization plugin, its invitation and member tables schemas are introduced with a bug. You cannot use member & pending since they are blocked scoped variables and not able to be used until after they are fully declared. Removing it will allow the schema to build, but I am not sure if that is the intended use.