|
|
@@ -11,7 +11,23 @@ |
|
|
|
# |
|
|
|
# It's strongly recommended to check this file into your version control system. |
|
|
|
|
|
|
|
ActiveRecord::Schema.define(:version => 20130320181527) do |
|
|
|
ActiveRecord::Schema.define(:version => 20130408142010) do |
|
|
|
|
|
|
|
create_table "delayed_jobs", :force => true do |t| |
|
|
|
t.integer "priority", :default => 0 |
|
|
|
t.integer "attempts", :default => 0 |
|
|
|
t.text "handler" |
|
|
|
t.text "last_error" |
|
|
|
t.datetime "run_at" |
|
|
|
t.datetime "locked_at" |
|
|
|
t.datetime "failed_at" |
|
|
|
t.string "locked_by" |
|
|
|
t.string "queue" |
|
|
|
t.datetime "created_at", :null => false |
|
|
|
t.datetime "updated_at", :null => false |
|
|
|
end |
|
|
|
|
|
|
|
add_index "delayed_jobs", ["priority", "run_at"], :name => "delayed_jobs_priority" |
|
|
|
|
|
|
|
create_table "feeds", :force => true do |t| |
|
|
|
t.string "title" |
|
|
@@ -24,13 +40,6 @@ ActiveRecord::Schema.define(:version => 20130320181527) do |
|
|
|
t.datetime "last_fetched" |
|
|
|
end |
|
|
|
|
|
|
|
create_table "feeds_layers", :id => false, :force => true do |t| |
|
|
|
t.integer "feed_id" |
|
|
|
t.integer "layer_id" |
|
|
|
end |
|
|
|
|
|
|
|
add_index "feeds_layers", ["feed_id", "layer_id"], :name => "index_feeds_layers_on_feed_id_and_layer_id" |
|
|
|
|
|
|
|
create_table "layers", :force => true do |t| |
|
|
|
t.string "name" |
|
|
|
t.datetime "created_at", :null => false |
|
|
@@ -52,14 +61,27 @@ ActiveRecord::Schema.define(:version => 20130320181527) do |
|
|
|
t.datetime "published" |
|
|
|
end |
|
|
|
|
|
|
|
create_table "subscriptions", :force => true do |t| |
|
|
|
t.integer "feed_id" |
|
|
|
t.integer "layer_id" |
|
|
|
t.datetime "created_at" |
|
|
|
t.datetime "updated_at" |
|
|
|
end |
|
|
|
|
|
|
|
add_index "subscriptions", ["feed_id", "layer_id"], :name => "index_feeds_layers_on_feed_id_and_layer_id", :unique => true |
|
|
|
add_index "subscriptions", ["id"], :name => "id" |
|
|
|
|
|
|
|
create_table "users", :force => true do |t| |
|
|
|
t.string "email" |
|
|
|
t.string "crypted_password" |
|
|
|
t.string "salt" |
|
|
|
t.datetime "created_at", :null => false |
|
|
|
t.datetime "updated_at", :null => false |
|
|
|
t.datetime "created_at", :null => false |
|
|
|
t.datetime "updated_at", :null => false |
|
|
|
t.string "remember_me_token" |
|
|
|
t.datetime "remember_me_token_expires_at" |
|
|
|
t.string "reset_password_token" |
|
|
|
t.datetime "reset_password_token_expires_at" |
|
|
|
t.datetime "reset_password_email_sent_at" |
|
|
|
end |
|
|
|
|
|
|
|
add_index "users", ["remember_me_token"], :name => "index_users_on_remember_me_token" |
|
|
|