From d7d77e4db4a3d7c368073579bb3489b3cf05dac7 Mon Sep 17 00:00:00 2001 From: Steve Williams <90905675+stevewgr@users.noreply.github.com> Date: Wed, 22 May 2024 00:34:53 -0400 Subject: [PATCH 1/3] Prefix migration scripts with leading zeros. Just to help them to be properly ordered when browsing. --- src/migration/archive/.gitkeep | 0 .../{1_fix_aiserver_columns.sql => 0001_fix_aiserver_columns.sql} | 0 ...server_columns.sql.diff => 0001_fix_aiserver_columns.sql.diff} | 0 .../archive/{2_insert_steve.sql => 0002_insert_steve.sql} | 0 .../{2_insert_steve.sql.diff => 0002_insert_steve.sql.diff} | 0 ...login_procedure.sql => 0003_alter_account_login_procedure.sql} | 0 ...edure.sql.diff => 0003_alter_account_login_procedure.sql.diff} | 0 ...select_procedure.sql => 0004_create_char_select_procedure.sql} | 0 ...cedure.sql.diff => 0004_create_char_select_procedure.sql.diff} | 0 ...info_procedure.sql => 0005_alter_load_char_info_procedure.sql} | 0 ...dure.sql.diff => 0005_alter_load_char_info_procedure.sql.diff} | 0 ...data_procedure.sql => 0006_alter_load_user_data_procedure.sql} | 0 ...dure.sql.diff => 0006_alter_load_user_data_procedure.sql.diff} | 0 ...elect_procedure.sql => 0007_alter_nation_select_procedure.sql} | 0 ...edure.sql.diff => 0007_alter_nation_select_procedure.sql.diff} | 0 .../{8_alter_account_login.sql => 0008_alter_account_login.sql} | 0 ...r_account_login.sql.diff => 0008_alter_account_login.sql.diff} | 0 ..._procedures.sql => 0009_drop_unused_tables_and_procedures.sql} | 0 ...s.sql.diff => 0009_drop_unused_tables_and_procedures.sql.diff} | 0 ...{10_fix_userdata_columns.sql => 0010_fix_userdata_columns.sql} | 0 ...erdata_columns.sql.diff => 0010_fix_userdata_columns.sql.diff} | 0 ...ta_procedure.sql => 0011_alter_update_user_data_procedure.sql} | 0 ...re.sql.diff => 0011_alter_update_user_data_procedure.sql.diff} | 0 ...info_procedure.sql => 0012_alter_load_char_info_procedure.sql} | 0 ...dure.sql.diff => 0012_alter_load_char_info_procedure.sql.diff} | 0 ...data_procedure.sql => 0013_alter_load_user_data_procedure.sql} | 0 ...dure.sql.diff => 0013_alter_load_user_data_procedure.sql.diff} | 0 ...userdata_schema.sql => 0014_alter_deleted_userdata_schema.sql} | 0 ...chema.sql.diff => 0014_alter_deleted_userdata_schema.sql.diff} | 0 ...te_char_procedure.sql => 0015_alter_delete_char_procedure.sql} | 0 ...ocedure.sql.diff => 0015_alter_delete_char_procedure.sql.diff} | 0 ...e_table_columns.sql => 0016_alter_warehouse_table_columns.sql} | 0 ...lumns.sql.diff => 0016_alter_warehouse_table_columns.sql.diff} | 0 ...warehouse_procedure.sql => 0017_alter_warehouse_procedure.sql} | 0 ...procedure.sql.diff => 0017_alter_warehouse_procedure.sql.diff} | 0 ...ensitivity_errors.sql => 0018_fix_case_sensitivity_errors.sql} | 0 ..._errors.sql.diff => 0018_fix_case_sensitivity_errors.sql.diff} | 0 ...h_status_usages.sql => 0019_uppercase_fetch_status_usages.sql} | 0 ...sages.sql.diff => 0019_uppercase_fetch_status_usages.sql.diff} | 0 ...hts2_procedure.sql => 0020_drop_create_knights2_procedure.sql} | 0 ...dure.sql.diff => 0020_drop_create_knights2_procedure.sql.diff} | 0 ...1_capitalized_variables.sql => 0021_capitalized_variables.sql} | 0 ...zed_variables.sql.diff => 0021_capitalized_variables.sql.diff} | 0 43 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 src/migration/archive/.gitkeep rename src/migration/archive/{1_fix_aiserver_columns.sql => 0001_fix_aiserver_columns.sql} (100%) rename src/migration/archive/{1_fix_aiserver_columns.sql.diff => 0001_fix_aiserver_columns.sql.diff} (100%) rename src/migration/archive/{2_insert_steve.sql => 0002_insert_steve.sql} (100%) rename src/migration/archive/{2_insert_steve.sql.diff => 0002_insert_steve.sql.diff} (100%) rename src/migration/archive/{3_alter_account_login_procedure.sql => 0003_alter_account_login_procedure.sql} (100%) rename src/migration/archive/{3_alter_account_login_procedure.sql.diff => 0003_alter_account_login_procedure.sql.diff} (100%) rename src/migration/archive/{4_create_char_select_procedure.sql => 0004_create_char_select_procedure.sql} (100%) rename src/migration/archive/{4_create_char_select_procedure.sql.diff => 0004_create_char_select_procedure.sql.diff} (100%) rename src/migration/archive/{5_alter_load_char_info_procedure.sql => 0005_alter_load_char_info_procedure.sql} (100%) rename src/migration/archive/{5_alter_load_char_info_procedure.sql.diff => 0005_alter_load_char_info_procedure.sql.diff} (100%) rename src/migration/archive/{6_alter_load_user_data_procedure.sql => 0006_alter_load_user_data_procedure.sql} (100%) rename src/migration/archive/{6_alter_load_user_data_procedure.sql.diff => 0006_alter_load_user_data_procedure.sql.diff} (100%) rename src/migration/archive/{7_alter_nation_select_procedure.sql => 0007_alter_nation_select_procedure.sql} (100%) rename src/migration/archive/{7_alter_nation_select_procedure.sql.diff => 0007_alter_nation_select_procedure.sql.diff} (100%) rename src/migration/archive/{8_alter_account_login.sql => 0008_alter_account_login.sql} (100%) rename src/migration/archive/{8_alter_account_login.sql.diff => 0008_alter_account_login.sql.diff} (100%) rename src/migration/archive/{9_drop_unused_tables_and_procedures.sql => 0009_drop_unused_tables_and_procedures.sql} (100%) rename src/migration/archive/{9_drop_unused_tables_and_procedures.sql.diff => 0009_drop_unused_tables_and_procedures.sql.diff} (100%) rename src/migration/archive/{10_fix_userdata_columns.sql => 0010_fix_userdata_columns.sql} (100%) rename src/migration/archive/{10_fix_userdata_columns.sql.diff => 0010_fix_userdata_columns.sql.diff} (100%) rename src/migration/archive/{11_alter_update_user_data_procedure.sql => 0011_alter_update_user_data_procedure.sql} (100%) rename src/migration/archive/{11_alter_update_user_data_procedure.sql.diff => 0011_alter_update_user_data_procedure.sql.diff} (100%) rename src/migration/archive/{12_alter_load_char_info_procedure.sql => 0012_alter_load_char_info_procedure.sql} (100%) rename src/migration/archive/{12_alter_load_char_info_procedure.sql.diff => 0012_alter_load_char_info_procedure.sql.diff} (100%) rename src/migration/archive/{13_alter_load_user_data_procedure.sql => 0013_alter_load_user_data_procedure.sql} (100%) rename src/migration/archive/{13_alter_load_user_data_procedure.sql.diff => 0013_alter_load_user_data_procedure.sql.diff} (100%) rename src/migration/archive/{14_alter_deleted_userdata_schema.sql => 0014_alter_deleted_userdata_schema.sql} (100%) rename src/migration/archive/{14_alter_deleted_userdata_schema.sql.diff => 0014_alter_deleted_userdata_schema.sql.diff} (100%) rename src/migration/archive/{15_alter_delete_char_procedure.sql => 0015_alter_delete_char_procedure.sql} (100%) rename src/migration/archive/{15_alter_delete_char_procedure.sql.diff => 0015_alter_delete_char_procedure.sql.diff} (100%) rename src/migration/archive/{16_alter_warehouse_table_columns.sql => 0016_alter_warehouse_table_columns.sql} (100%) rename src/migration/archive/{16_alter_warehouse_table_columns.sql.diff => 0016_alter_warehouse_table_columns.sql.diff} (100%) rename src/migration/archive/{17_alter_warehouse_procedure.sql => 0017_alter_warehouse_procedure.sql} (100%) rename src/migration/archive/{17_alter_warehouse_procedure.sql.diff => 0017_alter_warehouse_procedure.sql.diff} (100%) rename src/migration/archive/{18_fix_case_sensitivity_errors.sql => 0018_fix_case_sensitivity_errors.sql} (100%) rename src/migration/archive/{18_fix_case_sensitivity_errors.sql.diff => 0018_fix_case_sensitivity_errors.sql.diff} (100%) rename src/migration/archive/{19_uppercase_fetch_status_usages.sql => 0019_uppercase_fetch_status_usages.sql} (100%) rename src/migration/archive/{19_uppercase_fetch_status_usages.sql.diff => 0019_uppercase_fetch_status_usages.sql.diff} (100%) rename src/migration/archive/{20_drop_create_knights2_procedure.sql => 0020_drop_create_knights2_procedure.sql} (100%) rename src/migration/archive/{20_drop_create_knights2_procedure.sql.diff => 0020_drop_create_knights2_procedure.sql.diff} (100%) rename src/migration/archive/{21_capitalized_variables.sql => 0021_capitalized_variables.sql} (100%) rename src/migration/archive/{21_capitalized_variables.sql.diff => 0021_capitalized_variables.sql.diff} (100%) diff --git a/src/migration/archive/.gitkeep b/src/migration/archive/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/src/migration/archive/1_fix_aiserver_columns.sql b/src/migration/archive/0001_fix_aiserver_columns.sql similarity index 100% rename from src/migration/archive/1_fix_aiserver_columns.sql rename to src/migration/archive/0001_fix_aiserver_columns.sql diff --git a/src/migration/archive/1_fix_aiserver_columns.sql.diff b/src/migration/archive/0001_fix_aiserver_columns.sql.diff similarity index 100% rename from src/migration/archive/1_fix_aiserver_columns.sql.diff rename to src/migration/archive/0001_fix_aiserver_columns.sql.diff diff --git a/src/migration/archive/2_insert_steve.sql b/src/migration/archive/0002_insert_steve.sql similarity index 100% rename from src/migration/archive/2_insert_steve.sql rename to src/migration/archive/0002_insert_steve.sql diff --git a/src/migration/archive/2_insert_steve.sql.diff b/src/migration/archive/0002_insert_steve.sql.diff similarity index 100% rename from src/migration/archive/2_insert_steve.sql.diff rename to src/migration/archive/0002_insert_steve.sql.diff diff --git a/src/migration/archive/3_alter_account_login_procedure.sql b/src/migration/archive/0003_alter_account_login_procedure.sql similarity index 100% rename from src/migration/archive/3_alter_account_login_procedure.sql rename to src/migration/archive/0003_alter_account_login_procedure.sql diff --git a/src/migration/archive/3_alter_account_login_procedure.sql.diff b/src/migration/archive/0003_alter_account_login_procedure.sql.diff similarity index 100% rename from src/migration/archive/3_alter_account_login_procedure.sql.diff rename to src/migration/archive/0003_alter_account_login_procedure.sql.diff diff --git a/src/migration/archive/4_create_char_select_procedure.sql b/src/migration/archive/0004_create_char_select_procedure.sql similarity index 100% rename from src/migration/archive/4_create_char_select_procedure.sql rename to src/migration/archive/0004_create_char_select_procedure.sql diff --git a/src/migration/archive/4_create_char_select_procedure.sql.diff b/src/migration/archive/0004_create_char_select_procedure.sql.diff similarity index 100% rename from src/migration/archive/4_create_char_select_procedure.sql.diff rename to src/migration/archive/0004_create_char_select_procedure.sql.diff diff --git a/src/migration/archive/5_alter_load_char_info_procedure.sql b/src/migration/archive/0005_alter_load_char_info_procedure.sql similarity index 100% rename from src/migration/archive/5_alter_load_char_info_procedure.sql rename to src/migration/archive/0005_alter_load_char_info_procedure.sql diff --git a/src/migration/archive/5_alter_load_char_info_procedure.sql.diff b/src/migration/archive/0005_alter_load_char_info_procedure.sql.diff similarity index 100% rename from src/migration/archive/5_alter_load_char_info_procedure.sql.diff rename to src/migration/archive/0005_alter_load_char_info_procedure.sql.diff diff --git a/src/migration/archive/6_alter_load_user_data_procedure.sql b/src/migration/archive/0006_alter_load_user_data_procedure.sql similarity index 100% rename from src/migration/archive/6_alter_load_user_data_procedure.sql rename to src/migration/archive/0006_alter_load_user_data_procedure.sql diff --git a/src/migration/archive/6_alter_load_user_data_procedure.sql.diff b/src/migration/archive/0006_alter_load_user_data_procedure.sql.diff similarity index 100% rename from src/migration/archive/6_alter_load_user_data_procedure.sql.diff rename to src/migration/archive/0006_alter_load_user_data_procedure.sql.diff diff --git a/src/migration/archive/7_alter_nation_select_procedure.sql b/src/migration/archive/0007_alter_nation_select_procedure.sql similarity index 100% rename from src/migration/archive/7_alter_nation_select_procedure.sql rename to src/migration/archive/0007_alter_nation_select_procedure.sql diff --git a/src/migration/archive/7_alter_nation_select_procedure.sql.diff b/src/migration/archive/0007_alter_nation_select_procedure.sql.diff similarity index 100% rename from src/migration/archive/7_alter_nation_select_procedure.sql.diff rename to src/migration/archive/0007_alter_nation_select_procedure.sql.diff diff --git a/src/migration/archive/8_alter_account_login.sql b/src/migration/archive/0008_alter_account_login.sql similarity index 100% rename from src/migration/archive/8_alter_account_login.sql rename to src/migration/archive/0008_alter_account_login.sql diff --git a/src/migration/archive/8_alter_account_login.sql.diff b/src/migration/archive/0008_alter_account_login.sql.diff similarity index 100% rename from src/migration/archive/8_alter_account_login.sql.diff rename to src/migration/archive/0008_alter_account_login.sql.diff diff --git a/src/migration/archive/9_drop_unused_tables_and_procedures.sql b/src/migration/archive/0009_drop_unused_tables_and_procedures.sql similarity index 100% rename from src/migration/archive/9_drop_unused_tables_and_procedures.sql rename to src/migration/archive/0009_drop_unused_tables_and_procedures.sql diff --git a/src/migration/archive/9_drop_unused_tables_and_procedures.sql.diff b/src/migration/archive/0009_drop_unused_tables_and_procedures.sql.diff similarity index 100% rename from src/migration/archive/9_drop_unused_tables_and_procedures.sql.diff rename to src/migration/archive/0009_drop_unused_tables_and_procedures.sql.diff diff --git a/src/migration/archive/10_fix_userdata_columns.sql b/src/migration/archive/0010_fix_userdata_columns.sql similarity index 100% rename from src/migration/archive/10_fix_userdata_columns.sql rename to src/migration/archive/0010_fix_userdata_columns.sql diff --git a/src/migration/archive/10_fix_userdata_columns.sql.diff b/src/migration/archive/0010_fix_userdata_columns.sql.diff similarity index 100% rename from src/migration/archive/10_fix_userdata_columns.sql.diff rename to src/migration/archive/0010_fix_userdata_columns.sql.diff diff --git a/src/migration/archive/11_alter_update_user_data_procedure.sql b/src/migration/archive/0011_alter_update_user_data_procedure.sql similarity index 100% rename from src/migration/archive/11_alter_update_user_data_procedure.sql rename to src/migration/archive/0011_alter_update_user_data_procedure.sql diff --git a/src/migration/archive/11_alter_update_user_data_procedure.sql.diff b/src/migration/archive/0011_alter_update_user_data_procedure.sql.diff similarity index 100% rename from src/migration/archive/11_alter_update_user_data_procedure.sql.diff rename to src/migration/archive/0011_alter_update_user_data_procedure.sql.diff diff --git a/src/migration/archive/12_alter_load_char_info_procedure.sql b/src/migration/archive/0012_alter_load_char_info_procedure.sql similarity index 100% rename from src/migration/archive/12_alter_load_char_info_procedure.sql rename to src/migration/archive/0012_alter_load_char_info_procedure.sql diff --git a/src/migration/archive/12_alter_load_char_info_procedure.sql.diff b/src/migration/archive/0012_alter_load_char_info_procedure.sql.diff similarity index 100% rename from src/migration/archive/12_alter_load_char_info_procedure.sql.diff rename to src/migration/archive/0012_alter_load_char_info_procedure.sql.diff diff --git a/src/migration/archive/13_alter_load_user_data_procedure.sql b/src/migration/archive/0013_alter_load_user_data_procedure.sql similarity index 100% rename from src/migration/archive/13_alter_load_user_data_procedure.sql rename to src/migration/archive/0013_alter_load_user_data_procedure.sql diff --git a/src/migration/archive/13_alter_load_user_data_procedure.sql.diff b/src/migration/archive/0013_alter_load_user_data_procedure.sql.diff similarity index 100% rename from src/migration/archive/13_alter_load_user_data_procedure.sql.diff rename to src/migration/archive/0013_alter_load_user_data_procedure.sql.diff diff --git a/src/migration/archive/14_alter_deleted_userdata_schema.sql b/src/migration/archive/0014_alter_deleted_userdata_schema.sql similarity index 100% rename from src/migration/archive/14_alter_deleted_userdata_schema.sql rename to src/migration/archive/0014_alter_deleted_userdata_schema.sql diff --git a/src/migration/archive/14_alter_deleted_userdata_schema.sql.diff b/src/migration/archive/0014_alter_deleted_userdata_schema.sql.diff similarity index 100% rename from src/migration/archive/14_alter_deleted_userdata_schema.sql.diff rename to src/migration/archive/0014_alter_deleted_userdata_schema.sql.diff diff --git a/src/migration/archive/15_alter_delete_char_procedure.sql b/src/migration/archive/0015_alter_delete_char_procedure.sql similarity index 100% rename from src/migration/archive/15_alter_delete_char_procedure.sql rename to src/migration/archive/0015_alter_delete_char_procedure.sql diff --git a/src/migration/archive/15_alter_delete_char_procedure.sql.diff b/src/migration/archive/0015_alter_delete_char_procedure.sql.diff similarity index 100% rename from src/migration/archive/15_alter_delete_char_procedure.sql.diff rename to src/migration/archive/0015_alter_delete_char_procedure.sql.diff diff --git a/src/migration/archive/16_alter_warehouse_table_columns.sql b/src/migration/archive/0016_alter_warehouse_table_columns.sql similarity index 100% rename from src/migration/archive/16_alter_warehouse_table_columns.sql rename to src/migration/archive/0016_alter_warehouse_table_columns.sql diff --git a/src/migration/archive/16_alter_warehouse_table_columns.sql.diff b/src/migration/archive/0016_alter_warehouse_table_columns.sql.diff similarity index 100% rename from src/migration/archive/16_alter_warehouse_table_columns.sql.diff rename to src/migration/archive/0016_alter_warehouse_table_columns.sql.diff diff --git a/src/migration/archive/17_alter_warehouse_procedure.sql b/src/migration/archive/0017_alter_warehouse_procedure.sql similarity index 100% rename from src/migration/archive/17_alter_warehouse_procedure.sql rename to src/migration/archive/0017_alter_warehouse_procedure.sql diff --git a/src/migration/archive/17_alter_warehouse_procedure.sql.diff b/src/migration/archive/0017_alter_warehouse_procedure.sql.diff similarity index 100% rename from src/migration/archive/17_alter_warehouse_procedure.sql.diff rename to src/migration/archive/0017_alter_warehouse_procedure.sql.diff diff --git a/src/migration/archive/18_fix_case_sensitivity_errors.sql b/src/migration/archive/0018_fix_case_sensitivity_errors.sql similarity index 100% rename from src/migration/archive/18_fix_case_sensitivity_errors.sql rename to src/migration/archive/0018_fix_case_sensitivity_errors.sql diff --git a/src/migration/archive/18_fix_case_sensitivity_errors.sql.diff b/src/migration/archive/0018_fix_case_sensitivity_errors.sql.diff similarity index 100% rename from src/migration/archive/18_fix_case_sensitivity_errors.sql.diff rename to src/migration/archive/0018_fix_case_sensitivity_errors.sql.diff diff --git a/src/migration/archive/19_uppercase_fetch_status_usages.sql b/src/migration/archive/0019_uppercase_fetch_status_usages.sql similarity index 100% rename from src/migration/archive/19_uppercase_fetch_status_usages.sql rename to src/migration/archive/0019_uppercase_fetch_status_usages.sql diff --git a/src/migration/archive/19_uppercase_fetch_status_usages.sql.diff b/src/migration/archive/0019_uppercase_fetch_status_usages.sql.diff similarity index 100% rename from src/migration/archive/19_uppercase_fetch_status_usages.sql.diff rename to src/migration/archive/0019_uppercase_fetch_status_usages.sql.diff diff --git a/src/migration/archive/20_drop_create_knights2_procedure.sql b/src/migration/archive/0020_drop_create_knights2_procedure.sql similarity index 100% rename from src/migration/archive/20_drop_create_knights2_procedure.sql rename to src/migration/archive/0020_drop_create_knights2_procedure.sql diff --git a/src/migration/archive/20_drop_create_knights2_procedure.sql.diff b/src/migration/archive/0020_drop_create_knights2_procedure.sql.diff similarity index 100% rename from src/migration/archive/20_drop_create_knights2_procedure.sql.diff rename to src/migration/archive/0020_drop_create_knights2_procedure.sql.diff diff --git a/src/migration/archive/21_capitalized_variables.sql b/src/migration/archive/0021_capitalized_variables.sql similarity index 100% rename from src/migration/archive/21_capitalized_variables.sql rename to src/migration/archive/0021_capitalized_variables.sql diff --git a/src/migration/archive/21_capitalized_variables.sql.diff b/src/migration/archive/0021_capitalized_variables.sql.diff similarity index 100% rename from src/migration/archive/21_capitalized_variables.sql.diff rename to src/migration/archive/0021_capitalized_variables.sql.diff From 3b6622125d445c8ed75976b9ec8247eb436dbf9c Mon Sep 17 00:00:00 2001 From: Steve Williams <90905675+stevewgr@users.noreply.github.com> Date: Wed, 22 May 2024 00:38:23 -0400 Subject: [PATCH 2/3] Update docs. --- README.md | 2 +- src/migration/README.md | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6cf79a0..761df1d 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Note that the development process is inspired from [different db development env During development we only create migration scripts to alter the current state of the base. The base here refers to the generated scripts in data, procedure and schema. -Every migration script will be prefixed by index. For example, `1_insert_steve_user.sql` will contain an insert statement to `TB_USER` table. +Every migration script will be prefixed by max 4 leading zeros. For example, `0001_insert_steve_user.sql` will contain an insert statement to `TB_USER` table. Apart from the benifit of having the database under version control, this also makes it easy to use any SQL version you want. I use both 2008 and 2022 and it works perfectly fine with both. diff --git a/src/migration/README.md b/src/migration/README.md index 373d568..eac187a 100644 --- a/src/migration/README.md +++ b/src/migration/README.md @@ -3,12 +3,10 @@ Add here scripts that alters the existing database's schema, procedures, data and misc changes. Couple of rules and notes when writing migration scripts: -- Try to avoid any unnecessary formatting (eventually we'll add a formatter and automation), as it bloats the final diff when exporting the db - Always assume the database containing data, even if you just modify an empty table -- When altering Stored Procedures, always create a separate script for it - When altering the schema, adding comments (`--` for tsql) are encouraged -- When merging Pull Requests, if the server or client also needs changes, first merge the db PRs before the client / server -- When submitting a PR, providing a `*.diff` file is encouraged (`.\import.ps1 -generate_diffs $true`) +- When submitting a PR, please generate a `*.diff` file and commit it (`.\import.ps1 -generate_diffs $true`) +- Every migration script should start with max 4 leading zeros (example `0001_insert_user.sql`) ## Creating a new release From 40f288226265e6b82b146d67b417176cdad309b8 Mon Sep 17 00:00:00 2001 From: Steve Williams <90905675+stevewgr@users.noreply.github.com> Date: Wed, 22 May 2024 00:38:34 -0400 Subject: [PATCH 3/3] Ignore .venv dir. --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 4ac9f06..5a66e35 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.bak tmp/ +.venv/