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

include timestamps in migration template #109

Closed
jdoconnor opened this issue Jun 30, 2014 · 5 comments
Closed

include timestamps in migration template #109

jdoconnor opened this issue Jun 30, 2014 · 5 comments
Milestone

Comments

@jdoconnor
Copy link
Contributor

No description provided.

@shaqq
Copy link
Contributor

shaqq commented Aug 15, 2014

These are already included, no?

@umtrey
Copy link
Contributor

umtrey commented Aug 15, 2014

They are not - the migration is blank. However, you can't include timestamps unless you know it's a new table migration (as opposed to change table migration), so I really don't think this issue is valid outside of the scope of adding full migration generation capabilities within napa.

shaqq added a commit that referenced this issue Aug 20, 2014
@shaqq
Copy link
Contributor

shaqq commented Aug 20, 2014

In Rails, when you do rails generate migration CreateMayhem explosions:integer, it does not add timestamps to the migrations.

However, if you do rails generate model DrEvil recipes:string, it will add the timestamps in the migration that is generated (along with the model file)

@heymackey heymackey modified the milestone: 0.4.0 Oct 9, 2014
@heymackey heymackey modified the milestones: 0.4.0, 0.5.0 Oct 23, 2014
@heymackey
Copy link
Contributor

This should be closed by #207

@shaqq
Copy link
Contributor

shaqq commented May 14, 2015

indedededeed!

@shaqq shaqq closed this as completed May 14, 2015
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

4 participants