Separate local and remote instances at the DB level.
Local and remote instances have so many differences in between them.
For example, since local instances share the same root domain, DB only need to store the slug, but for remote instances, DB must store the entire host.
Therefore, the instance table should be divided into local_instances and remote_instances.
Separate local and remote instances at the DB level.
Local and remote instances have so many differences in between them.
For example, since local instances share the same root domain, DB only need to store the
slug, but for remote instances, DB must store the entire host.Therefore, the
instancetable should be divided intolocal_instancesandremote_instances.