To the tune of REM's Losing my Religion
-------
Ohhhh crap, that figures
Figures, the table dropped,
it was not me,
the lengths I had to go thru,
to set the schema ids,
oh no, I forgot to auto
Increment
Thas me in the corner,
coding to the moon-light,
using my migrations,
thank god I didn't start on the views,
maybe it was faith I didn't do it,
cuz, I didn't set those keys
to primary,
wiped my brow n started laughing
imagine I deployed this thing?,
The thought just makes me start to cry,
Every SQL
Every timestamped file
I'm adjusting my migrations,
This time with pair programming
Like a hurt, lost, blind fool…fool
Oh no, I start to blush,
Duped columns in a rush
Consider this,
Consider this, the developer I could be
Consider this,
if mistakes
don't get to me,
Breathe
fixed migrations, typed rake db
executed without a sound
I started tux,
Yes I am so happy
Inserted the new values
So, happy that I started to cry
Turns out it was all a dream,
It was all a dream
Take it as lesson,
Never code by moon-light
and double check my migrations
Localhost all my views,
Then I hope this post influence,
Folks to be fluent
in other O-R-Ms
You've got DataMapper,
Sequel and ActiveRecord,
I think you should give them all a try,
Only dropped in the dream,
relax, sigh, nom french fries,
Only dropped in the dream,
in the dream
just a dream, dream
Note: If you drop, migrations will only bring back the structure of your table, your data is as gone as yesterday…sowwie =(