awa
This commit is contained in:
8
dns/cleanup_migration.sql
Normal file
8
dns/cleanup_migration.sql
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
-- 清理部分应用的迁移记录
|
||||||
|
DELETE FROM _sqlx_migrations WHERE version = 1;
|
||||||
|
|
||||||
|
-- 可选:也可以删除所有迁移记录,从头开始
|
||||||
|
-- TRUNCATE TABLE _sqlx_migrations;
|
||||||
|
|
||||||
|
-- 显示清理后的迁移表状态
|
||||||
|
SELECT * FROM _sqlx_migrations;
|
||||||
@@ -3,5 +3,6 @@
|
|||||||
-- MySQL 8.0+ supports CHECK constraints, but we'll skip adding for compatibility
|
-- MySQL 8.0+ supports CHECK constraints, but we'll skip adding for compatibility
|
||||||
|
|
||||||
-- Add indexes for efficient DNS lookups if they don't exist
|
-- Add indexes for efficient DNS lookups if they don't exist
|
||||||
CREATE INDEX idx_dns_records_ns_lookup ON dns_records(record_type, name);
|
-- Index already created in migration 003_add_ns_records.sql
|
||||||
|
-- CREATE INDEX idx_dns_records_ns_lookup ON dns_records(record_type, name);
|
||||||
CREATE INDEX idx_dns_records_subdomain_lookup ON dns_records(domain_id, name, record_type);
|
CREATE INDEX idx_dns_records_subdomain_lookup ON dns_records(domain_id, name, record_type);
|
||||||
@@ -329,3 +329,49 @@ permissions/write_sms=false
|
|||||||
permissions/write_social_stream=false
|
permissions/write_social_stream=false
|
||||||
permissions/write_sync_settings=false
|
permissions/write_sync_settings=false
|
||||||
permissions/write_user_dictionary=false
|
permissions/write_user_dictionary=false
|
||||||
|
|
||||||
|
[preset.3]
|
||||||
|
|
||||||
|
name="Web"
|
||||||
|
platform="Web"
|
||||||
|
runnable=true
|
||||||
|
advanced_options=false
|
||||||
|
dedicated_server=false
|
||||||
|
custom_features=""
|
||||||
|
export_filter="all_resources"
|
||||||
|
include_filter=""
|
||||||
|
exclude_filter=""
|
||||||
|
export_path=""
|
||||||
|
patches=PackedStringArray()
|
||||||
|
encryption_include_filters=""
|
||||||
|
encryption_exclude_filters=""
|
||||||
|
seed=0
|
||||||
|
encrypt_pck=false
|
||||||
|
encrypt_directory=false
|
||||||
|
script_export_mode=2
|
||||||
|
|
||||||
|
[preset.3.options]
|
||||||
|
|
||||||
|
custom_template/debug=""
|
||||||
|
custom_template/release=""
|
||||||
|
variant/extensions_support=false
|
||||||
|
variant/thread_support=false
|
||||||
|
vram_texture_compression/for_desktop=true
|
||||||
|
vram_texture_compression/for_mobile=false
|
||||||
|
html/export_icon=true
|
||||||
|
html/custom_html_shell=""
|
||||||
|
html/head_include=""
|
||||||
|
html/canvas_resize_policy=2
|
||||||
|
html/focus_canvas_on_start=true
|
||||||
|
html/experimental_virtual_keyboard=false
|
||||||
|
progressive_web_app/enabled=false
|
||||||
|
progressive_web_app/ensure_cross_origin_isolation_headers=true
|
||||||
|
progressive_web_app/offline_page=""
|
||||||
|
progressive_web_app/display=1
|
||||||
|
progressive_web_app/orientation=0
|
||||||
|
progressive_web_app/icon_144x144=""
|
||||||
|
progressive_web_app/icon_180x180=""
|
||||||
|
progressive_web_app/icon_512x512=""
|
||||||
|
progressive_web_app/background_color=Color(0, 0, 0, 1)
|
||||||
|
threads/emscripten_pool_size=8
|
||||||
|
threads/godot_pool_size=4
|
||||||
|
|||||||
Reference in New Issue
Block a user