Skip to content

Prefix for table name #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
outring opened this issue Nov 7, 2009 · 1 comment
Closed

Prefix for table name #6

outring opened this issue Nov 7, 2009 · 1 comment

Comments

@outring
Copy link

outring commented Nov 7, 2009

Sometime is need to add a prefix for table names of all models, but there is no way to define static variables with expressions. It will be great that prefix can be defined in connection string as a query (.../db_name?table_prefix_) and can be overrided (or added) in model by static $table_prefix

@kla
Copy link
Collaborator

kla commented Jan 25, 2010

Don't really see a compelling reason to add support for this

murayama referenced this issue in murayama/php-activerecord Mar 26, 2013
ActiveRecord\Errosをファイルに分離しました
joshuan pushed a commit to Fabrica/php-activerecord that referenced this issue May 23, 2014
…ribute-changes

Flag dirty only if attribute changes
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants