Skip to content

Instantly share code, notes, and snippets.

@jraczak
Created March 2, 2012 03:38
Show Gist options
  • Save jraczak/1955436 to your computer and use it in GitHub Desktop.
Save jraczak/1955436 to your computer and use it in GitHub Desktop.
ActiveRecord::Schema.define(:version => 20120228154735) do
create_table "articles", :force => true do |t|
t.string "title"
t.text "body"
t.datetime "published_at"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
t.string "excerpt"
t.string "location"
end
create_table "articles_categories", :id => false, :force => true do |t|
t.integer "article_id"
t.integer "category_id"
end
create_table "categories", :force => true do |t|
t.string "name"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
end
create_table "comments", :force => true do |t|
t.integer "article_id"
t.string "name"
t.string "email"
t.text "body"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
end
create_table "profiles", :force => true do |t|
t.integer "user_id"
t.string "name"
t.date "birthday"
t.text "bio"
t.string "twitter"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
end
create_table "projects", :force => true do |t|
t.string "name"
t.text "overview"
t.date "start_date"
t.date "end_date"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
end
create_table "requirements", :force => true do |t|
t.string "name"
t.text "detail"
t.string "initiator"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
t.integer "priority"
t.datetime "created"
t.integer "project_id"
end
create_table "sessions", :force => true do |t|
t.string "session_id", :null => false
t.text "data"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
end
add_index "sessions", ["session_id"], :name => "index_sessions_on_session_id"
add_index "sessions", ["updated_at"], :name => "index_sessions_on_updated_at"
create_table "users", :force => true do |t|
t.string "email"
t.string "hashed_password"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment