latticexyz / mud

MUD is a framework for building autonomous worlds
https://mud.dev
MIT License
736 stars 185 forks source link

postgres indexer: reconsider schema+table name approach #1981

Open holic opened 11 months ago

holic commented 11 months ago

currently we use a postgres schema name like {address}__{namespace}

but it might make more sense to use just address for the schema name and {namespace}__{tableName} for the tables (which would match more closely with https://github.com/latticexyz/mud/issues/1980 and how we're thinking of prefixing namespaced tables in MUD config)

holic commented 9 months ago

related to #2173