Created
May 23, 2016 11:12
-
-
Save evaldasg/48ce52fa728f9e4ce4ee20dcbda0215b to your computer and use it in GitHub Desktop.
Rails Migrations stuff.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>> ActiveRecord::Migrator.current_version # prints current DB version | |
>> ActiveRecord::SchemaMigration.create!(version: '20160606111111') # add DB version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment