Sha256: c3a7d1ddc471ca8679c08280cd6597e035ecb218cfa800d5affe2b22e2591023
Contents?: true
Size: 233 Bytes
Versions: 1
Compression:
Stored size: 233 Bytes
Contents
class AddTokensUpdatedOn < ActiveRecord::Migration def self.up add_column :tokens, :updated_on, :timestamp Token.update_all("updated_on = created_on") end def self.down remove_column :tokens, :updated_on end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
redmine_extensions-0.1.15 | spec/redmine/db/migrate/20151024082034_add_tokens_updated_on.rb |