fix migration
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
class AddIpAddrToDmails < ActiveRecord::Migration
|
class AddIpAddrToDmails < ActiveRecord::Migration
|
||||||
def change
|
def change
|
||||||
|
execute "set statement_timeout = 0"
|
||||||
add_column :dmails, :creator_ip_addr, :inet, :null => false, :default => "127.0.0.1"
|
add_column :dmails, :creator_ip_addr, :inet, :null => false, :default => "127.0.0.1"
|
||||||
add_index :dmails, :creator_ip_addr
|
add_index :dmails, :creator_ip_addr
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user