Sign in
go
/
pkgsite
/
8da7e8ececcda2d44131b6f90785fe780fdd84c0
/
.
/
migrations
tree: 0c451dee189da06237da5337bdb907381780cd6a [
path history
]
[
tgz
]
000001_initial_schema_from_pg_dump.down.sql
000001_initial_schema_from_pg_dump.up.sql
000002_add_modules_identity.down.sql
000002_add_modules_identity.up.sql
000003_add_paths_table.down.sql
000003_add_paths_table.up.sql
000004_redo_golang_search_config.down.sql
000004_redo_golang_search_config.up.sql
000005_change_b_weight.down.sql
000005_change_b_weight.up.sql
000006_add_identity_keys.down.sql
000006_add_identity_keys.up.sql
000007_add_readme_package_imports_documentation_tables.down.sql
000007_add_readme_package_imports_documentation_tables.up.sql
000008_remove_golang_text_config.down.sql
000008_remove_golang_text_config.up.sql
000009_add_path_tokens_config.down.sql
000009_add_path_tokens_config.up.sql
000010_rename_readme_filename_to_file_path.down.sql
000010_rename_readme_filename_to_file_path.up.sql
000011_add_packages_index.down.sql
000011_add_packages_index.up.sql
000012_add_modules_series_path_index.down.sql
000012_add_modules_series_path_index.up.sql
000013_add_version_map_indexes.down.sql
000013_add_version_map_indexes.up.sql
000014_add_paths_module_id_index.down.sql
000014_add_paths_module_id_index.up.sql
000015_add_package_version_states_module_path_version_index.down.sql
000015_add_package_version_states_module_path_version_index.up.sql
000016_add_module_version_states_num_packages.down.sql
000016_add_module_version_states_num_packages.up.sql
000017_add_module_version_states_num_packages_index.down.sql
000017_add_module_version_states_num_packages_index.up.sql
000018_add_module_version_states_status_index.down.sql
000018_add_module_version_states_status_index.up.sql
000019_add_imports_unique_index.down.sql
000019_add_imports_unique_index.up.sql
000020_add_search_documents_module_path_index.down.sql
000020_add_search_documents_module_path_index.up.sql
000021_add_version_map_go_mod_path_column.down.sql
000021_add_version_map_go_mod_path_column.up.sql
000022_change_has_go_mod_not_null.down.sql
000022_change_has_go_mod_not_null.up.sql
000023_change_version_map_go_mod_path_not_null.down.sql
000023_change_version_map_go_mod_path_not_null.up.sql
000024_add_documentation_source_files_column.down.sql
000024_add_documentation_source_files_column.up.sql
000025_add_module_incomapatible_column.down.sql
000025_add_module_incomapatible_column.up.sql
000026_change_incompatible_not_null.down.sql
000026_change_incompatible_not_null.up.sql
000027_add_modules_status_column.down.sql
000027_add_modules_status_column.up.sql
000028_add_idx_licenses_module_id.down.sql
000028_add_idx_licenses_module_id.up.sql
000029_change_licenses_module_id_not_null.down.sql
000029_change_licenses_module_id_not_null.up.sql
000030_remove_experiments.down.sql
000030_remove_experiments.up.sql
000031_drop_tsv_parent_directories.down.sql
000031_drop_tsv_parent_directories.up.sql
000032_drop_search_documents_package_path_fkey.down.sql
000032_drop_search_documents_package_path_fkey.up.sql
000033_drop_search_documents_package_path_module_path_version_fkey.down.sql
000033_drop_search_documents_package_path_module_path_version_fkey.up.sql
000034_drop_licenses_module_path_fkey.down.sql
000034_drop_licenses_module_path_fkey.up.sql
000035_add_unique_idx_licenses_module_id_file_path.down.sql
000035_add_unique_idx_licenses_module_id_file_path.up.sql
000036_change_licenses_primary_key.down.sql
000036_change_licenses_primary_key.up.sql
000037_drop_modules_readme_columns.down.sql
000037_drop_modules_readme_columns.up.sql
000038_drop_imports_table.down.sql
000038_drop_imports_table.up.sql
000039_drop_packages_table.down.sql
000039_drop_packages_table.up.sql
000040_drop_alternative_module_paths.down.sql
000040_drop_alternative_module_paths.up.sql
000041_drop_idx_paths_path.down.sql
000041_drop_idx_paths_path.up.sql
000042_add_search_documents_path_id.down.sql
000042_add_search_documents_path_id.up.sql
000043_add_units_view.down.sql
000043_add_units_view.up.sql
000044_rename_paths_to_units.down.sql
000044_rename_paths_to_units.up.sql
000045_create_paths_table.down.sql
000045_create_paths_table.up.sql
000046_rename_path_id_columns.down.sql
000046_rename_path_id_columns.up.sql
000047_add_unique_on_paths_path.down.sql
000047_add_unique_on_paths_path.up.sql
000048_add_idx_units_path_id.down.sql
000048_add_idx_units_path_id.up.sql
000049_drop_licenses_module_path_version_not_null.down.sql
000049_drop_licenses_module_path_version_not_null.up.sql
000050_drop_licenses_module_path_version_columns.down.sql
000050_drop_licenses_module_path_version_columns.up.sql
000051_drop_documentation_html_not_null.down.sql
000051_drop_documentation_html_not_null.up.sql
000052_drop_documentation_html.down.sql
000052_drop_documentation_html.up.sql
000053_add_units_v1path_id.down.sql
000053_add_units_v1path_id.up.sql
000054_add_path_id_not_null.down.sql
000054_add_path_id_not_null.up.sql
000055_add_units_id_module_id_unique.down.sql
000055_add_units_id_module_id_unique.up.sql
000056_drop_units_path_not_null.down.sql
000056_drop_units_path_not_null.up.sql
000057_add_idx_units_v1path_id.down.sql
000057_add_idx_units_v1path_id.up.sql
000058_units_v1path_id_not_null.down.sql
000058_units_v1path_id_not_null.up.sql
000059_drop_units_path.down.sql
000059_drop_units_path.up.sql
000060_set_units_v1_path_nullable.down.sql
000060_set_units_v1_path_nullable.up.sql
000061_drop_units_v1_path.down.sql
000061_drop_units_v1_path.up.sql
000062_add_symbols.down.sql
000062_add_symbols.up.sql
000063_add_deprecated.down.sql
000063_add_deprecated.up.sql
000064_change_symbol_table_columns.down.sql
000064_change_symbol_table_columns.up.sql
000065_rename_symbols_signature_to_synopsis.down.sql
000065_rename_symbols_signature_to_synopsis.up.sql
000066_add_symbol_type_type.down.sql
000066_add_symbol_type_type.up.sql
000067_rename_symbols_to_symbol_names.down.sql
000067_rename_symbols_to_symbol_names.up.sql
000068_create_symbols_table.down.sql
000068_create_symbols_table.up.sql
000069_add_unique_index_package_symbols.down.sql
000069_add_unique_index_package_symbols.up.sql
000070_add_raw_latest_versions.down.sql
000070_add_raw_latest_versions.up.sql
000071_add_module_version_state_has_go_mod.down.sql
000071_add_module_version_state_has_go_mod.up.sql
000072_add_documentation_goos_goarch_id.down.sql
000072_add_documentation_goos_goarch_id.up.sql
000073_create_documentation_symbols.down.sql
000073_create_documentation_symbols.up.sql
000074_add_latest_module_versions.down.sql
000074_add_latest_module_versions.up.sql
000075_add_extension_uuid_ossp.down.sql
000075_add_extension_uuid_ossp.up.sql
000076_change_unique_index_package_symbols.down.sql
000076_change_unique_index_package_symbols.up.sql
000077_add_package_symbol_indexes.down.sql
000077_add_package_symbol_indexes.up.sql
000078_add_latest_module_versions_columns.down.sql
000078_add_latest_module_versions_columns.up.sql
000079_change_package_symbol_unique.down.sql
000079_change_package_symbol_unique.up.sql
000080_add_documentation_symbols_bigint.down.sql
000080_add_documentation_symbols_bigint.up.sql
000081_drop_raw_latest_versions.down.sql
000081_drop_raw_latest_versions.up.sql
000082_add_package_symbols_bigint.down.sql
000082_add_package_symbols_bigint.up.sql
000083_add_documentation_bigint.down.sql
000083_add_documentation_bigint.up.sql
000084_new_documentation.down.sql
000084_new_documentation.up.sql
000085_add_documentation_index.down.sql
000085_add_documentation_index.up.sql
000086_drop_unused_documentation_columns.down.sql
000086_drop_unused_documentation_columns.up.sql
000087_drop_symbol_history.down.sql
000087_drop_symbol_history.up.sql
000088_add_latest_module_versions_columns_2.down.sql
000088_add_latest_module_versions_columns_2.up.sql
000089_drop_modules_deprecation_column.down.sql
000089_drop_modules_deprecation_column.up.sql
000090_rename_new_documentation.down.sql
000090_rename_new_documentation.up.sql
000091_add_symbol_history.down.sql
000091_add_symbol_history.up.sql
000092_drop_old_documentation.down.sql
000092_drop_old_documentation.up.sql
000093_fix_package_symbols_unique.down.sql
000093_fix_package_symbols_unique.up.sql
000094_alter_symbol_history.down.sql
000094_alter_symbol_history.up.sql
000095_add_symbol_history_idx.down.sql
000095_add_symbol_history_idx.up.sql
000096_add_symbol_history_goos_goarch_idx.down.sql
000096_add_symbol_history_goos_goarch_idx.up.sql
000097_alter_search_documents.down.sql
000097_alter_search_documents.up.sql
000098_add_symbol_search_documents.down.sql
000098_add_symbol_search_documents.up.sql
000099_add_paths_big_id.down.sql
000099_add_paths_big_id.up.sql
000100_rename_paths_big_id.down.sql
000100_rename_paths_big_id.up.sql
000101_validate_constraints.down.sql
000101_validate_constraints.up.sql
000102_enlarge_lmv_path_ids.down.sql
000102_enlarge_lmv_path_ids.up.sql
000103_add_big_package_symbol_path_ids.down.sql
000103_add_big_package_symbol_path_ids.up.sql
000104_alter_package_symbols.down.sql
000104_alter_package_symbols.up.sql
000105_drop_big_package_symbols_columns.down.sql
000105_drop_big_package_symbols_columns.up.sql
000106_enlarge_unit_id.down.sql
000106_enlarge_unit_id.up.sql
000107_enlarge_readmes_unit_id.down.sql
000107_enlarge_readmes_unit_id.up.sql
000108_add_new_symbol_history.down.sql
000108_add_new_symbol_history.up.sql
000109_add_documentation_big_unit_id.down.sql
000109_add_documentation_big_unit_id.up.sql
000110_add_doc_fkey_constraint.down.sql
000110_add_doc_fkey_constraint.up.sql
000111_rename_doc_big_unit_id.down.sql
000111_rename_doc_big_unit_id.up.sql
000112_validate_documentation_fkey_constraint.down.sql
000112_validate_documentation_fkey_constraint.up.sql
000113_add_imports.down.sql
000113_add_imports.up.sql
000114_recreate_symbol_search.down.sql
000114_recreate_symbol_search.up.sql
000115_recreate_documentation_symbols.down.sql
000115_recreate_documentation_symbols.up.sql
000116_add_search_documents_unit_id.down.sql
000116_add_search_documents_unit_id.up.sql
000117_add_search_documents_path_tokens.down.sql
000117_add_search_documents_path_tokens.up.sql
000118_add_symbol_search_configuration.down.sql
000118_add_symbol_search_configuration.up.sql
000119_add_symbol_timestamps.down.sql
000119_add_symbol_timestamps.up.sql
000120_add_timestamp_to_paths_table.down.sql
000120_add_timestamp_to_paths_table.up.sql
000121_remove_package_imports.down.sql
000121_remove_package_imports.up.sql
000122_add_symbol_search_columns.down.sql
000122_add_symbol_search_columns.up.sql
000123_add_tsv_name_tokens_idx.down.sql
000123_add_tsv_name_tokens_idx.up.sql
000124_replace_tsv_name_tokens_trigger.down.sql
000124_replace_tsv_name_tokens_trigger.up.sql
000125_add_symbol_search_documents_unit_id_idx.down.sql
000125_add_symbol_search_documents_unit_id_idx.up.sql
000126_add_idx_search_documents_name.down.sql
000126_add_idx_search_documents_name.up.sql
000127_search_documents_package_path_id_not_null.down.sql
000127_search_documents_package_path_id_not_null.up.sql
000128_search_documents_unit_id_not_null.down.sql
000128_search_documents_unit_id_not_null.up.sql
000129_add_lowercase_index.down.sql
000129_add_lowercase_index.up.sql
000130_add_symbol_search_documents_package_symbol_id_fk.down.sql
000130_add_symbol_search_documents_package_symbol_id_fk.up.sql
000131_add_symbol_search_documents_package_path.down.sql
000131_add_symbol_search_documents_package_path.up.sql
000132_add_symbol_search_documents_imported_by.down.sql
000132_add_symbol_search_documents_imported_by.up.sql
000133_rename_symbol_history.down.sql
000133_rename_symbol_history.up.sql
000134_fix_imported_by_count_trigger.down.sql
000134_fix_imported_by_count_trigger.up.sql
000135_swap_search_documents_primary_key.down.sql
000135_swap_search_documents_primary_key.up.sql
000136_add_symbol_search_documents_fk.down.sql
000136_add_symbol_search_documents_fk.up.sql
000137_add_search_documents_fk.down.sql
000137_add_search_documents_fk.up.sql
000138_drop_old_symbol_history.down.sql
000138_drop_old_symbol_history.up.sql
000139_add_symbol_search_documents_symbol_name.down.sql
000139_add_symbol_search_documents_symbol_name.up.sql
000140_drop_module_version_states_index_timestamp_not_null.down.sql
000140_drop_module_version_states_index_timestamp_not_null.up.sql
000141_add_idx_search_documents_tsv_path_tokens.down.sql
000141_add_idx_search_documents_tsv_path_tokens.up.sql
000142_add_idx_symbol_search_documents_symbol_name_imported_by_count.down.sql
000142_add_idx_symbol_search_documents_symbol_name_imported_by_count.up.sql
000143_add_units_paths_fk.down.sql
000143_add_units_paths_fk.up.sql
000144_add_not_null_constraints.down.sql
000144_add_not_null_constraints.up.sql
000145_not_null_search_documents.down.sql
000145_not_null_search_documents.up.sql
000146_not_null_symbol_search_document_goos_goarch.down.sql
000146_not_null_symbol_search_document_goos_goarch.up.sql
000147_not_null_symbol_search_document_updated_at_created_at.down.sql
000147_not_null_symbol_search_document_updated_at_created_at.up.sql
000148_not_null_symbol_search_document_package_path.down.sql
000148_not_null_symbol_search_document_package_path.up.sql
000149_not_null_symbol_search_document_package_name.down.sql
000149_not_null_symbol_search_document_package_name.up.sql
000150_add_search_documents_ln_imported_by_count.down.sql
000150_add_search_documents_ln_imported_by_count.up.sql
000151_drop_unused_columns.down.sql
000151_drop_unused_columns.up.sql
000152_add_search_documents_unit_id_unique.down.sql
000152_add_search_documents_unit_id_unique.up.sql
000153_add_not_null_symbol_search_documents_symbol_name.down.sql
000153_add_not_null_symbol_search_documents_symbol_name.up.sql
000154_add_search_documents_ln_imported_by_not_null.down.sql
000154_add_search_documents_ln_imported_by_not_null.up.sql