Type: New Feature
Affects Version/s: 2.0-ALPHA3
Fix Version/s: 2.0-BETA2
Security Level: All
A nice option would be the ability to set a prefix for database table names.
entity table name (@Table) = users
prefix = foo_
=> table name in database = foo . name = foo_users
The option should default to an empty string.
This would make it possible to run multiple instances of the same application in a single database and remove naming conflicts between apps (many apps will want tot use the table users, for example). Each application could be configured to use a custom prefix. Without this feature, changes in the code in many places would be required, making updating the app difficult. This would be especially useful in a shared hosting environment where every user only has one database.