queued questions

This commit is contained in:
Jared Cosulich 2017-04-18 10:31:28 -04:00
parent 7dc603b7ee
commit aaa2572a92
9 changed files with 165 additions and 60 deletions

View file

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20170412204724) do
ActiveRecord::Schema.define(version: 20170417203127) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -91,6 +91,7 @@ ActiveRecord::Schema.define(version: 20170412204724) do
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.datetime "next_attempt_at"
t.string "queued_question_ids"
end
create_table "recipients", force: :cascade do |t|
@ -110,6 +111,7 @@ ActiveRecord::Schema.define(version: 20170412204724) do
t.string "slug"
t.integer "attempts_count", default: 0
t.integer "responses_count", default: 0
t.string "teacher"
t.index ["phone"], name: "index_recipients_on_phone", using: :btree
t.index ["slug"], name: "index_recipients_on_slug", unique: true, using: :btree
end