store ip address and current user with incoming links

make links long an readable in share dialog
This commit is contained in:
Sam
2013-04-26 16:18:41 +10:00
parent a56a926582
commit f9e33ec6b8
10 changed files with 80 additions and 43 deletions

View File

@ -0,0 +1,6 @@
class AllowNullsInIncomingLinks < ActiveRecord::Migration
def change
change_column :incoming_links, :referer, :string, limit:1000, null: true
change_column :incoming_links, :domain, :string, limit:100, null: true
end
end