From 50e0b7331d4b1091d98dbb60a0ba17c19aeceebe Mon Sep 17 00:00:00 2001 From: thatguyinabeanie Date: Fri, 6 Dec 2024 13:45:27 -0600 Subject: [PATCH 1/3] lint --- .vscode/settings.json | 2 +- db/schema.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 74dc28ad..63638fcb 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,7 +1,7 @@ { "editor.formatOnSave": false, "editor.bracketPairColorization.independentColorPoolPerBracketType": true, - "editor.defaultColorDecorators": true, + "editor.defaultColorDecorators": "auto", "editor.inlayHints.padding": true, "sonarlint.connectedMode.project": { diff --git a/db/schema.rb b/db/schema.rb index 60e6ee86..b785a498 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[7.2].define(version: 2024_12_02_150406) do +ActiveRecord::Schema[7.2].define(version: 2024_12_06_194112) do # These are extensions that must be enabled in order to support this database enable_extension "pg_trgm" enable_extension "pgcrypto" @@ -168,7 +168,7 @@ t.datetime "created_at", null: false t.datetime "updated_at", null: false t.string "type", null: false - t.string "name" + t.string "name", null: false t.integer "best_of", default: 3, null: false t.datetime "started_at" t.datetime "ended_at" From e291a3fe31b1726be169551202871dd3d7cdf72d Mon Sep 17 00:00:00 2001 From: thatguyinabeanie Date: Fri, 6 Dec 2024 13:45:50 -0600 Subject: [PATCH 2/3] migration --- .../20241206194112_change_name_null_constraint_in_phases.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 db/migrate/20241206194112_change_name_null_constraint_in_phases.rb diff --git a/db/migrate/20241206194112_change_name_null_constraint_in_phases.rb b/db/migrate/20241206194112_change_name_null_constraint_in_phases.rb new file mode 100644 index 00000000..f84164a3 --- /dev/null +++ b/db/migrate/20241206194112_change_name_null_constraint_in_phases.rb @@ -0,0 +1,5 @@ +class ChangeNameNullConstraintInPhases < ActiveRecord::Migration[7.2] + def change + change_column_null :phases, :name, false + end +end From a39785df9dab2fbdf99f2eca61a1ae59098f0627 Mon Sep 17 00:00:00 2001 From: thatguyinabeanie Date: Fri, 6 Dec 2024 13:52:50 -0600 Subject: [PATCH 3/3] spellings --- cspell.config.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cspell.config.yaml b/cspell.config.yaml index 45847aa2..2206b2cd 100644 --- a/cspell.config.yaml +++ b/cspell.config.yaml @@ -53,5 +53,9 @@ words: - Sandslash - Staryu - deepcode + - logpanel + - jacoco + - sqltools + - sonarlint ignoreWords: [] import: []