Twill: [Question] How to prefix DB tables

Created on 12 Mar 2019  路  2Comments  路  Source: area17/twill

Hi,

Twill creates a twill_users table, which is absolutely fine :)

However, it doesn't take this liberty with other tables, e.g. tags, files etc

This causes problems for adding Twill to pre-existing projects that already use those tables for domain entities.

Is it be possible to make sure all twill tables are namespaced correctly to prevent conflicts?

Thanks

enhancement

Most helpful comment

That's a very good suggestion @OwenMelbz, I'll add the ability to provide custom table names from configuration like for the twill_users table. We'll keep defaults in 1.2.2 to the current non prefixed names but when it is time for 1.3 we can definitely change all table names to prefixed.

All 2 comments

That's a very good suggestion @OwenMelbz, I'll add the ability to provide custom table names from configuration like for the twill_users table. We'll keep defaults in 1.2.2 to the current non prefixed names but when it is time for 1.3 we can definitely change all table names to prefixed.

Resolved by 7fced6057183e624b0acdf0805f4513b1d9b9623.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dafyd picture dafyd  路  3Comments

karneaud picture karneaud  路  3Comments

bastienrobert picture bastienrobert  路  7Comments

lostdesign picture lostdesign  路  5Comments

manuelsofia picture manuelsofia  路  4Comments