* Fix: #950 新規アンテナ作成時にリストへ挿入するを設定しても、ホーム挿入になる * Fix test
This commit is contained in:
parent
80cace410f
commit
915ee553da
7 changed files with 27 additions and 5 deletions
|
@ -0,0 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class SetAntennaListIdDefaultValue < ActiveRecord::Migration[8.0]
|
||||
def change
|
||||
change_column_default :antennas, :list_id, from: nil, to: 0
|
||||
end
|
||||
end
|
|
@ -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_01_23_091137) do
|
||||
ActiveRecord::Schema[8.0].define(version: 2025_01_30_232529) do
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "pg_catalog.plpgsql"
|
||||
|
||||
|
@ -309,7 +309,7 @@ ActiveRecord::Schema[8.0].define(version: 2025_01_23_091137) do
|
|||
|
||||
create_table "antennas", force: :cascade do |t|
|
||||
t.bigint "account_id", null: false
|
||||
t.bigint "list_id", null: false
|
||||
t.bigint "list_id", default: 0, null: false
|
||||
t.string "title", default: "", null: false
|
||||
t.jsonb "keywords"
|
||||
t.jsonb "exclude_keywords"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue