Change: #648 センシティブワードの入力フォーム (#653)

* Change: #648 センシティブワードの入力フォーム

* Wip: 行の追加削除

* Wip: 設定の保存、マイグレーション

* 不要な処理を削除

* マイグレーションコード調整
This commit is contained in:
KMY(雪あすか) 2024-03-19 08:18:34 +09:00 committed by GitHub
parent f509bd4fc3
commit ed246f0d03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 377 additions and 61 deletions

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_03_10_123453) do
ActiveRecord::Schema[7.1].define(version: 2024_03_12_230204) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -1233,6 +1233,15 @@ ActiveRecord::Schema[7.1].define(version: 2024_03_10_123453) do
t.index ["scheduled_at"], name: "index_scheduled_statuses_on_scheduled_at"
end
create_table "sensitive_words", force: :cascade do |t|
t.string "keyword", null: false
t.boolean "regexp", default: false, null: false
t.boolean "remote", default: false, null: false
t.boolean "spoiler", default: true, null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end
create_table "session_activations", force: :cascade do |t|
t.string "session_id", null: false
t.datetime "created_at", precision: nil, null: false