Skip to content
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

Define timestamp columns via arguments #706

Closed
samizdam opened this issue Dec 5, 2015 · 1 comment
Closed

Define timestamp columns via arguments #706

samizdam opened this issue Dec 5, 2015 · 1 comment

Comments

@samizdam
Copy link
Contributor

samizdam commented Dec 5, 2015

Now it's hardcoded as 'created_at' and 'updated_at' at https://github.com/robmorgan/phinx/blob/0.5.x-dev/src/Phinx/Db/Table.php#L557
Table::addTimestamps($createdAtColumnName = 'created_at', $updatedAtColumnName = 'updated_at')
more flexible.

@dereuromark
Copy link
Member

Are you able to provide a pull request with your suggested changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants