110687814-migrations_code_change

This commit is contained in:
Stas 2016-02-26 15:56:51 +02:00
parent 577762a2bc
commit 7784a44f8d
6 changed files with 16 additions and 16 deletions

View file

@ -1,5 +1,5 @@
class AddUpIdValueToDomain < ActiveRecord::Migration
def change
add_column :domains, :upid, :string
add_column :domains, :upid, :integer
end
end

View file

@ -1,5 +1,5 @@
class AddUpIdValueToContact < ActiveRecord::Migration
def change
add_column :contacts, :upid, :string
add_column :contacts, :upid, :integer
end
end

View file

@ -0,0 +1,5 @@
class AddUpDateValueToDomain < ActiveRecord::Migration
def change
add_column :domains, :update, :timestamp
end
end

View file

@ -0,0 +1,5 @@
class AddUpDateValueToContact < ActiveRecord::Migration
def change
add_column :contacts, :update, :timestamp
end
end