public
Description: Your favorite URL-shortening service in all of Ruby land
Homepage: http://rubyurl.com
Clone URL: git://github.com/robbyrussell/rubyurl.git
Search Repo:
Robby Russell (author)
Sun Mar 02 17:41:01 -0800 2008
commit  ecbc90102fe92306a6bd5a8880e5fe952c558682
tree    4d307a11d66fba20c406e6a6c0cc39b4e721da6b
parent  6dee0c8bd29661da3c489df1f54b94afcd632494
rubyurl / db / schema.rb
100644 30 lines (23 sloc) 0.969 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# This file is autogenerated. Instead of editing this file, please use the
# migrations feature of ActiveRecord to incrementally modify your database, and
# then regenerate this schema definition.
 
ActiveRecord::Schema.define(:version => 2) do
 
  create_table "links", :force => true do |t|
    t.column "website_url", :text
    t.column "token", :string
    t.column "permalink", :string
    t.column "ip_address", :string
    t.column "created_at", :datetime
    t.column "updated_at", :datetime
  end
 
  add_index "links", ["token"], :name => "index_links_on_token"
 
  create_table "visits", :force => true do |t|
    t.column "link_id", :integer
    t.column "referral_link", :text
    t.column "flagged", :string
    t.column "ip_address", :text
    t.column "created_at", :datetime
  end
 
  add_index "visits", ["flagged"], :name => "index_visits_on_flagged"
  add_index "visits", ["link_id"], :name => "index_visits_on_link_id"
 
end