SU2-7 | Добавление модели Report с поддержкой загрузки файлов, обновление контроллера и представления для обработки отчетов, а также создание миграций для таблицы отчетов и активного хранилища.

This commit is contained in:
Dmitry
2025-12-10 15:02:39 +03:00
parent ae77bfa911
commit 5f9a4c0da6
8 changed files with 74 additions and 20 deletions
Generated
+8 -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: 2025_08_05_090922) do
ActiveRecord::Schema[7.1].define(version: 2025_12_09_142642) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -42,6 +42,13 @@ ActiveRecord::Schema[7.1].define(version: 2025_08_05_090922) do
t.index ["blob_id", "variation_digest"], name: "index_active_storage_variant_records_uniqueness", unique: true
end
create_table "reports", force: :cascade do |t|
t.string "inn"
t.string "status"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end
create_table "sessions", force: :cascade do |t|
t.string "session_id", null: false
t.string "cas_ticket"