diff options
Diffstat (limited to 'db/migrate/20151024082034_add_tokens_updated_on.rb')
-rw-r--r-- | db/migrate/20151024082034_add_tokens_updated_on.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20151024082034_add_tokens_updated_on.rb b/db/migrate/20151024082034_add_tokens_updated_on.rb index 0af28dc81..7b94a3a95 100644 --- a/db/migrate/20151024082034_add_tokens_updated_on.rb +++ b/db/migrate/20151024082034_add_tokens_updated_on.rb @@ -1,4 +1,4 @@ -class AddTokensUpdatedOn < ActiveRecord::Migration +class AddTokensUpdatedOn < ActiveRecord::Migration[4.2] def self.up add_column :tokens, :updated_on, :timestamp Token.update_all("updated_on = created_on") |