decline submission

This commit is contained in:
Pete Matsyburka
2024-08-21 09:22:59 +03:00
parent 96cf228e74
commit 2764a18252
25 changed files with 439 additions and 28 deletions
@@ -0,0 +1,7 @@
# frozen_string_literal: true
class AddDeclinedAtToSubmitters < ActiveRecord::Migration[7.1]
def change
add_column :submitters, :declined_at, :datetime
end
end
+2 -1
View File
@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[7.1].define(version: 2024_08_16_121641) do
ActiveRecord::Schema[7.1].define(version: 2024_08_20_180922) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -244,6 +244,7 @@ ActiveRecord::Schema[7.1].define(version: 2024_08_16_121641) do
t.text "preferences", null: false
t.text "metadata", null: false
t.bigint "account_id", null: false
t.datetime "declined_at"
t.index ["account_id", "id"], name: "index_submitters_on_account_id_and_id"
t.index ["email"], name: "index_submitters_on_email"
t.index ["external_id"], name: "index_submitters_on_external_id"