cirandas.net

ref: master

plugins/sub_organizations/db/migrate/20150508153119_add_timestamp_to_relation.rb


1
2
3
4
5
6
7
8
class AddTimestampToRelation < ActiveRecord::Migration
  def change
    add_column :sub_organizations_plugin_relations, :created_at, :datetime
    add_column :sub_organizations_plugin_relations, :updated_at, :datetime
    add_column :sub_organizations_plugin_approve_paternity_relations, :created_at, :datetime
    add_column :sub_organizations_plugin_approve_paternity_relations, :updated_at, :datetime
  end
end