Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: ed53eccf10
Fetching contributors…

Cannot retrieve contributors at this time

56 lines (47 sloc) 1.893 kb
# This file is auto-generated from the current state of the database. Instead of editing this file,
# please use the migrations feature of ActiveRecord to incrementally modify your database, and
# then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative source for your database schema. If you need
# to create the application database on another system, you should be using db:schema:load, not running
# all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
# It's strongly recommended to check this file into your version control system.
ActiveRecord::Schema.define(:version => 7) do
create_table "comments", :force => true do |t|
t.integer "entry_id"
t.integer "user_id"
t.text "body"
end
create_table "entries", :force => true do |t|
t.string "title"
t.string "url"
t.string "thumbnail"
t.integer "user_id"
t.datetime "created_at"
t.datetime "updated_at"
t.string "ip"
t.string "status", :default => "pending"
end
add_index "entries", ["created_at"], :name => "index_entries_on_created_at"
add_index "entries", ["updated_at"], :name => "index_entries_on_updated_at"
add_index "entries", ["status"], :name => "index_entries_on_status"
create_table "flags", :force => true do |t|
t.integer "entry_id"
t.integer "user_id"
t.string "name"
t.string "value"
t.string "ip"
t.datetime "timestamp"
end
add_index "flags", ["entry_id"], :name => "flag_entry_id"
add_index "flags", ["ip"], :name => "flag_ip"
add_index "flags", ["name"], :name => "flag_name"
create_table "users", :force => true do |t|
t.string "name"
t.string "email"
t.string "website"
t.string "avatar"
end
end
Jump to Line
Something went wrong with that request. Please try again.