Implement CSV import and conversion to contestants
All checks were successful
CI / scan_ruby (push) Successful in 17s
CI / scan_js (push) Successful in 11s
CI / lint (push) Successful in 12s
CI / test (push) Successful in 26s

This commit is contained in:
sto
2025-05-17 17:40:03 +02:00
parent 939e2157ab
commit ec2201f9a8
12 changed files with 165 additions and 17 deletions

View File

@@ -0,0 +1,5 @@
class AddContentToCsvImport < ActiveRecord::Migration[8.0]
def change
add_column :csv_imports, :content, :string, null: false
end
end

3
db/schema.rb generated
View File

@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[8.0].define(version: 2025_05_17_083830) do
ActiveRecord::Schema[8.0].define(version: 2025_05_17_131707) do
create_table "active_storage_attachments", force: :cascade do |t|
t.string "name", null: false
t.string "record_type", null: false
@@ -79,6 +79,7 @@ ActiveRecord::Schema[8.0].define(version: 2025_05_17_083830) do
t.string "separator", null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.string "content", null: false
end
create_table "friendly_id_slugs", force: :cascade do |t|