SYMBOL INDEX (499 symbols across 52 files) FILE: app/controllers/actual_db_schema/broken_versions_controller.rb type ActualDbSchema (line 3) | module ActualDbSchema class BrokenVersionsController (line 5) | class BrokenVersionsController < ActionController::Base method index (line 9) | def index; end method delete (line 11) | def delete method delete_all (line 16) | def delete_all method handle_delete (line 23) | def handle_delete(id, database) method handle_delete_all (line 30) | def handle_delete_all method broken_versions (line 37) | def broken_versions FILE: app/controllers/actual_db_schema/migrations_controller.rb type ActualDbSchema (line 3) | module ActualDbSchema class MigrationsController (line 5) | class MigrationsController < ActionController::Base method index (line 9) | def index; end method show (line 11) | def show method rollback (line 15) | def rollback method migrate (line 20) | def migrate method handle_rollback (line 27) | def handle_rollback(id, database) method handle_migrate (line 34) | def handle_migrate(id, database) method migrations (line 41) | def migrations method migration (line 59) | def migration FILE: app/controllers/actual_db_schema/phantom_migrations_controller.rb type ActualDbSchema (line 3) | module ActualDbSchema class PhantomMigrationsController (line 5) | class PhantomMigrationsController < ActionController::Base method index (line 9) | def index; end method show (line 11) | def show method rollback (line 15) | def rollback method rollback_all (line 20) | def rollback_all method handle_rollback (line 27) | def handle_rollback(id, database) method handle_rollback_all (line 34) | def handle_rollback_all method phantom_migrations (line 41) | def phantom_migrations method phantom_migration (line 45) | def phantom_migration FILE: app/controllers/actual_db_schema/schema_controller.rb type ActualDbSchema (line 3) | module ActualDbSchema class SchemaController (line 5) | class SchemaController < ActionController::Base method index (line 9) | def index; end method schema_diff_html (line 13) | def schema_diff_html FILE: lib/actual_db_schema.rb type ActualDbSchema (line 33) | module ActualDbSchema function configure (line 43) | def self.configure function migrated_folder (line 47) | def self.migrated_folder function migrated_folders (line 51) | def self.migrated_folders function default_migrated_folder (line 64) | def self.default_migrated_folder function migrations_paths (line 68) | def self.migrations_paths function db_config (line 76) | def self.db_config function migration_filename (line 84) | def self.migration_filename(fullpath) FILE: lib/actual_db_schema/commands/base.rb type ActualDbSchema (line 3) | module ActualDbSchema type Commands (line 4) | module Commands class Base (line 6) | class Base method initialize (line 9) | def initialize(context) method call (line 13) | def call method call_impl (line 23) | def call_impl FILE: lib/actual_db_schema/commands/list.rb type ActualDbSchema (line 3) | module ActualDbSchema type Commands (line 4) | module Commands class List (line 6) | class List < Base method call_impl (line 9) | def call_impl method indexed_phantom_migrations (line 14) | def indexed_phantom_migrations method preambule (line 18) | def preambule method separator_width (line 27) | def separator_width method header (line 31) | def header method table (line 41) | def table method line_for (line 48) | def line_for(status, version) method metadata (line 60) | def metadata method branch_for (line 64) | def branch_for(version) method longest_branch_name (line 68) | def longest_branch_name method branch_column_width (line 73) | def branch_column_width FILE: lib/actual_db_schema/commands/rollback.rb type ActualDbSchema (line 3) | module ActualDbSchema type Commands (line 4) | module Commands class Rollback (line 6) | class Rollback < Base method initialize (line 10) | def initialize(context, manual_mode: false) method call_impl (line 17) | def call_impl method print_success (line 25) | def print_success method print_error (line 29) | def print_error method failed_migrations_list (line 44) | def failed_migrations_list method print_error_summary (line 53) | def print_error_summary(content) method print_wrapped_content (line 63) | def print_wrapped_content(content, width, indent) method manual_mode_default? (line 71) | def manual_mode_default? FILE: lib/actual_db_schema/configuration.rb type ActualDbSchema (line 3) | module ActualDbSchema class Configuration (line 5) | class Configuration method initialize (line 9) | def initialize method [] (line 13) | def [](key) method []= (line 17) | def []=(key, value) method fetch (line 24) | def fetch(key, default = nil) method default_settings (line 34) | def default_settings method enabled_by_default? (line 48) | def enabled_by_default? method ui_enabled_by_default? (line 52) | def ui_enabled_by_default? method env_enabled? (line 56) | def env_enabled?(key) method migrations_storage_from_env (line 60) | def migrations_storage_from_env method parse_excluded_databases_env (line 64) | def parse_excluded_databases_env method apply_defaults (line 74) | def apply_defaults(settings) FILE: lib/actual_db_schema/console_migrations.rb type ActualDbSchema (line 3) | module ActualDbSchema type ConsoleMigrations (line 5) | module ConsoleMigrations function migration_instance (line 43) | def migration_instance FILE: lib/actual_db_schema/engine.rb type ActualDbSchema (line 3) | module ActualDbSchema class Engine (line 5) | class Engine < ::Rails::Engine method apply_schema_dump_exclusions (line 22) | def self.apply_schema_dump_exclusions method ignore_schema_dump_table (line 35) | def ignore_schema_dump_table(table_name) method schema_dump_flags_supported? (line 42) | def schema_dump_flags_supported? method schema_dump_connection_available? (line 49) | def schema_dump_connection_available? method apply_structure_dump_flags (line 59) | def apply_structure_dump_flags(table_name) method database_name (line 75) | def database_name FILE: lib/actual_db_schema/failed_migration.rb type ActualDbSchema (line 3) | module ActualDbSchema function filename (line 5) | def filename function short_filename (line 9) | def short_filename FILE: lib/actual_db_schema/git.rb type ActualDbSchema (line 3) | module ActualDbSchema class Git (line 5) | class Git method current_branch (line 6) | def self.current_branch FILE: lib/actual_db_schema/git_hooks.rb type ActualDbSchema (line 5) | module ActualDbSchema class GitHooks (line 7) | class GitHooks method initialize (line 61) | def initialize(strategy: :rollback) method install_post_checkout_hook (line 65) | def install_post_checkout_hook method hook_code (line 77) | def hook_code method hooks_dir (line 81) | def hooks_dir method hook_path (line 85) | def hook_path method hooks_directory_present? (line 89) | def hooks_directory_present? method handle_existing_hook (line 95) | def handle_existing_hook method create_new_hook (line 102) | def create_new_hook method markers_exist? (line 113) | def markers_exist? method update_hook (line 118) | def update_hook method replace_marker_contents (line 131) | def replace_marker_contents(contents) method safe_install? (line 138) | def safe_install? method install_hook (line 146) | def install_hook method show_manual_install_instructions (line 158) | def show_manual_install_instructions method write_hook_file (line 178) | def write_hook_file(contents) method print_success (line 183) | def print_success FILE: lib/actual_db_schema/instrumentation.rb type ActualDbSchema (line 3) | module ActualDbSchema type Instrumentation (line 4) | module Instrumentation FILE: lib/actual_db_schema/migration.rb type ActualDbSchema (line 3) | module ActualDbSchema class Migration (line 5) | class Migration method all_phantom (line 11) | def all_phantom method all (line 26) | def all method find (line 41) | def find(version, database) method rollback (line 51) | def rollback(version, database) method rollback_all (line 62) | def rollback_all method migrate (line 66) | def migrate(version, database) method broken_versions (line 77) | def broken_versions method delete (line 96) | def delete(version, database) method delete_all (line 108) | def delete_all method build_migration_struct (line 116) | def build_migration_struct(status, migration) method sort_migrations_desc (line 129) | def sort_migrations_desc(migrations) method phantom? (line 133) | def phantom?(migration) method should_include? (line 137) | def should_include?(status, migration) method find_migration_in_context (line 141) | def find_migration_in_context(context, version) method branch_for (line 149) | def branch_for(version) method metadata (line 153) | def metadata method validate_broken_migration (line 158) | def validate_broken_migration(version, database) FILE: lib/actual_db_schema/migration_context.rb type ActualDbSchema (line 3) | module ActualDbSchema class MigrationContext (line 5) | class MigrationContext method each (line 8) | def each method establish_connection (line 20) | def establish_connection(db_config) method current_config (line 25) | def current_config method configs (line 33) | def configs method filter_configs (line 44) | def filter_configs(all_configs) method context (line 59) | def context FILE: lib/actual_db_schema/migration_parser.rb type ActualDbSchema (line 6) | module ActualDbSchema type MigrationParser (line 8) | module MigrationParser function parse_all_migrations (line 23) | def parse_all_migrations(dirs) function parse_file (line 43) | def parse_file(file_path) function find_migration_changes (line 47) | def find_migration_changes(node) function process_block_node (line 62) | def process_block_node(node) function process_send_node (line 75) | def process_send_node(node) function parse_add_column (line 86) | def parse_add_column(args) function parse_change_column (line 98) | def parse_change_column(args) function parse_remove_column (line 110) | def parse_remove_column(args) function parse_rename_column (line 121) | def parse_rename_column(args) function parse_add_index (line 132) | def parse_add_index(args) function parse_remove_index (line 143) | def parse_remove_index(args) function parse_rename_index (line 153) | def parse_rename_index(args) function parse_create_table (line 164) | def parse_create_table(args) function parse_drop_table (line 174) | def parse_drop_table(args) function parse_create_table_with_block (line 184) | def parse_create_table_with_block(send_node, block_node) function parse_create_table_columns (line 195) | def parse_create_table_columns(body_node) function parse_column_node (line 202) | def parse_column_node(node) function parse_timestamps (line 215) | def parse_timestamps function sym_value (line 222) | def sym_value(node) function array_or_single_value (line 228) | def array_or_single_value(node) function parse_hash (line 238) | def parse_hash(node) function node_value (line 249) | def node_value(node) FILE: lib/actual_db_schema/multi_tenant.rb type ActualDbSchema (line 3) | module ActualDbSchema type MultiTenant (line 5) | module MultiTenant function with_schema (line 9) | def with_schema(schema_name) function adapter_name (line 18) | def adapter_name function switch_schema (line 22) | def switch_schema(schema_name) function switch_postgresql_schema (line 35) | def switch_postgresql_schema(schema_name) function switch_mysql_schema (line 41) | def switch_mysql_schema(schema_name) function restore_context (line 47) | def restore_context(context) FILE: lib/actual_db_schema/output_formatter.rb type ActualDbSchema (line 3) | module ActualDbSchema type OutputFormatter (line 5) | module OutputFormatter function colorize (line 13) | def colorize(text, color) FILE: lib/actual_db_schema/patches/migration_context.rb type ActualDbSchema (line 3) | module ActualDbSchema type Patches (line 4) | module Patches type MigrationContext (line 6) | module MigrationContext function rollback_branches (line 9) | def rollback_branches(manual_mode: false) function phantom_migrations (line 23) | def phantom_migrations function rollback_branches_for_schema (line 35) | def rollback_branches_for_schema(manual_mode: false, schema_name: ... function rollback_multi_tenant (line 51) | def rollback_multi_tenant(schemas, manual_mode: false) function down_migrator_for (line 64) | def down_migrator_for(migration) function migration_files (line 74) | def migration_files function status_up? (line 87) | def status_up?(migration) function user_wants_rollback? (line 93) | def user_wants_rollback? function show_info_for (line 99) | def show_info_for(migration, schema_name = nil) function migrate (line 109) | def migrate(migration, rolled_back_migrations, schema_name = nil, ... function notify_rollback_migration (line 127) | def notify_rollback_migration(migration:, schema_name:, branch:, m... function extract_class_name (line 139) | def extract_class_name(filename) function branch_for (line 144) | def branch_for(version) function metadata (line 148) | def metadata function handle_rollback_error (line 152) | def handle_rollback_error(migration, exception, schema_name = nil) function cleaned_exception_message (line 168) | def cleaned_exception_message(message) function delete_migrations (line 177) | def delete_migrations(migrations, schema_count) function multi_tenant_schemas (line 188) | def multi_tenant_schemas FILE: lib/actual_db_schema/patches/migration_proxy.rb type ActualDbSchema (line 3) | module ActualDbSchema type Patches (line 4) | module Patches type MigrationProxy (line 6) | module MigrationProxy function migrate (line 7) | def migrate(direction) FILE: lib/actual_db_schema/patches/migrator.rb type ActualDbSchema (line 3) | module ActualDbSchema type Patches (line 4) | module Patches type Migrator (line 6) | module Migrator function runnable (line 7) | def runnable FILE: lib/actual_db_schema/railtie.rb type ActualDbSchema (line 3) | module ActualDbSchema class Railtie (line 5) | class Railtie < ::Rails::Railtie FILE: lib/actual_db_schema/rollback_stats_repository.rb type ActualDbSchema (line 3) | module ActualDbSchema class RollbackStatsRepository (line 5) | class RollbackStatsRepository method record (line 9) | def record(payload) method stats (line 24) | def stats method total_rollbacks (line 35) | def total_rollbacks method reset! (line 43) | def reset! method ensure_table! (line 51) | def ensure_table! method table_exists? (line 65) | def table_exists? method aggregate_by (line 69) | def aggregate_by(column) method empty_stats (line 80) | def empty_stats method connection (line 89) | def connection method quoted_table (line 93) | def quoted_table method quoted_column (line 97) | def quoted_column(name) FILE: lib/actual_db_schema/schema_diff.rb type ActualDbSchema (line 5) | module ActualDbSchema class SchemaDiff (line 8) | class SchemaDiff method initialize (line 30) | def initialize(schema_path, migrations_path) method render (line 35) | def render method old_schema_content (line 47) | def old_schema_content method new_schema_content (line 54) | def new_schema_content method parsed_old_schema (line 58) | def parsed_old_schema method parsed_new_schema (line 62) | def parsed_new_schema method parser_class (line 66) | def parser_class method structure_sql? (line 70) | def structure_sql? method migration_changes (line 74) | def migration_changes method migrated_folders (line 81) | def migrated_folders method find_migrated_folders (line 92) | def find_migrated_folders method generate_diff (line 103) | def generate_diff(old_content, new_content) method process_diff_output (line 116) | def process_diff_output(diff_str) method handle_diff_line (line 135) | def handle_diff_line(line, current_table) method detect_action_and_name (line 147) | def detect_action_and_name(line_content, sign, current_table) method guess_action (line 169) | def guess_action(sign, table, col_name) method find_table_in_new_schema (line 180) | def find_table_in_new_schema(new_line_number) method find_migrations (line 191) | def find_migrations(action, table_name, col_or_index_name) method index_action? (line 205) | def index_action?(action) method migration_matches? (line 209) | def migration_matches?(chg, action, col_or_index_name) method rename_column_matches? (line 222) | def rename_column_matches?(chg, action, col) method rename_index_matches? (line 227) | def rename_index_matches?(chg, action, name) method index_matches? (line 232) | def index_matches?(chg, action, col_or_index_name) method column_matches? (line 238) | def column_matches?(chg, action, col_name) method extract_migration_index_name (line 242) | def extract_migration_index_name(chg, table_name) method annotate_line (line 251) | def annotate_line(line, migration_file_paths) method normalize_table_name (line 255) | def normalize_table_name(table_name) FILE: lib/actual_db_schema/schema_diff_html.rb type ActualDbSchema (line 3) | module ActualDbSchema class SchemaDiffHtml (line 6) | class SchemaDiffHtml < SchemaDiff method render_html (line 7) | def render_html(table_filter) method generate_diff_html (line 18) | def generate_diff_html method generate_full_diff (line 25) | def generate_full_diff(old_content, new_content) method process_diff_output_for_html (line 38) | def process_diff_output_for_html(diff_str) method skip_line? (line 56) | def skip_line?(line) method process_table (line 61) | def process_table(line, current_table, table_start, table_end, block... method handle_diff_line_html (line 81) | def handle_diff_line_html(line, current_table) method annotate_line (line 91) | def annotate_line(line, migration_file_paths, color) method colorize_html (line 96) | def colorize_html(text, color) method link_to_migration (line 109) | def link_to_migration(migration_file_path) method migrations (line 117) | def migrations method extract_table_section (line 121) | def extract_table_section(full_diff_html, table_name) FILE: lib/actual_db_schema/schema_parser.rb type ActualDbSchema (line 6) | module ActualDbSchema type SchemaParser (line 8) | module SchemaParser function parse_string (line 11) | def parse_string(schema_content) class SchemaCollector (line 20) | class SchemaCollector < Parser::AST::Processor method initialize (line 23) | def initialize method on_block (line 28) | def on_block(node) method on_send (line 40) | def on_send(node) method create_table_call? (line 52) | def create_table_call?(node) method extract_table_name (line 59) | def extract_table_name(send_node) method extract_columns (line 69) | def extract_columns(body_node) method process_column_node (line 82) | def process_column_node(node) method extract_column_name (line 98) | def extract_column_name(node) method extract_column_options (line 107) | def extract_column_options(args) method parse_hash (line 117) | def parse_hash(node) method extract_key (line 130) | def extract_key(node) method extract_literal (line 139) | def extract_literal(node) FILE: lib/actual_db_schema/store.rb type ActualDbSchema (line 3) | module ActualDbSchema class Store (line 5) | class Store method write (line 10) | def write(filename) method read (line 15) | def read method migration_files (line 19) | def migration_files method delete (line 23) | def delete(filename) method stored_migration? (line 28) | def stored_migration?(filename) method source_for (line 32) | def source_for(version) method materialize_all (line 41) | def materialize_all method reset_adapter (line 45) | def reset_adapter method adapter (line 52) | def adapter method reset_source_cache (line 59) | def reset_source_cache method db_versions (line 64) | def db_versions method file_versions (line 78) | def file_versions class FileAdapter (line 85) | class FileAdapter method write (line 86) | def write(filename) method read (line 93) | def read method migration_files (line 99) | def migration_files method delete (line 103) | def delete(filename) method stored_migration? (line 107) | def stored_migration?(filename) method materialize_all (line 111) | def materialize_all method record_metadata (line 117) | def record_metadata(filename) method folder (line 128) | def folder method store_file (line 132) | def store_file class DbAdapter (line 138) | class DbAdapter method write (line 142) | def write(filename) method read (line 154) | def read method migration_files (line 167) | def migration_files method delete (line 172) | def delete(filename) method stored_migration? (line 185) | def stored_migration?(filename) method materialize_all (line 189) | def materialize_all method upsert_record (line 205) | def upsert_record(version, basename, content, branch, migrated_at) method record_attributes (line 210) | def record_attributes(version, basename, content, branch, migrated... method update_record (line 220) | def update_record(attributes) method insert_record (line 232) | def insert_record(attributes) method record_exists? (line 244) | def record_exists?(version) method ensure_table! (line 253) | def ensure_table! method table_exists? (line 267) | def table_exists? method connection (line 271) | def connection method record_columns (line 275) | def record_columns method quoted_table (line 279) | def quoted_table method quoted_column (line 283) | def quoted_column(name) method folder (line 287) | def folder method write_cache_file (line 291) | def write_cache_file(filename, content) method extract_version (line 299) | def extract_version(filename) FILE: lib/actual_db_schema/structure_sql_parser.rb type ActualDbSchema (line 3) | module ActualDbSchema type StructureSqlParser (line 5) | module StructureSqlParser function parse_string (line 8) | def parse_string(sql_content) function parse_columns (line 17) | def parse_columns(columns_section) function normalize_table_name (line 35) | def normalize_table_name(table_name) FILE: lib/actual_db_schema/version.rb type ActualDbSchema (line 3) | module ActualDbSchema FILE: lib/tasks/test.rake function wait_for_postgres (line 42) | def wait_for_postgres function wait_for_mysql (line 56) | def wait_for_mysql FILE: test/controllers/actual_db_schema/broken_versions_controller_db_storage_test.rb type ActualDbSchema (line 6) | module ActualDbSchema class BrokenVersionsControllerDbStorageTest (line 7) | class BrokenVersionsControllerDbStorageTest < ActionController::TestCase method setup (line 10) | def setup method teardown (line 20) | def teardown method routes_setup (line 25) | def routes_setup method active_record_setup (line 38) | def active_record_setup method setup_utils (line 43) | def setup_utils method configure_storage (line 47) | def configure_storage method configure_app (line 51) | def configure_app method configure_views (line 56) | def configure_views method prepare_database (line 60) | def prepare_database method delete_migrations_files (line 67) | def delete_migrations_files method delete_primary_migrations (line 72) | def delete_primary_migrations method delete_secondary_migrations (line 83) | def delete_secondary_migrations FILE: test/controllers/actual_db_schema/broken_versions_controller_test.rb type ActualDbSchema (line 6) | module ActualDbSchema class BrokenVersionsControllerTest (line 7) | class BrokenVersionsControllerTest < ActionController::TestCase method setup (line 8) | def setup method routes_setup (line 20) | def routes_setup method active_record_setup (line 33) | def active_record_setup method delete_migrations_files (line 38) | def delete_migrations_files FILE: test/controllers/actual_db_schema/migrations_controller_db_storage_test.rb type ActualDbSchema (line 6) | module ActualDbSchema class MigrationsControllerDbStorageTest (line 7) | class MigrationsControllerDbStorageTest < ActionController::TestCase method setup (line 10) | def setup method teardown (line 20) | def teardown method routes_setup (line 25) | def routes_setup method active_record_setup (line 39) | def active_record_setup method setup_utils (line 44) | def setup_utils method configure_storage (line 48) | def configure_storage method configure_app (line 52) | def configure_app method configure_views (line 57) | def configure_views method prepare_database (line 61) | def prepare_database FILE: test/controllers/actual_db_schema/migrations_controller_test.rb type ActualDbSchema (line 6) | module ActualDbSchema class MigrationsControllerTest (line 7) | class MigrationsControllerTest < ActionController::TestCase method setup (line 8) | def setup method routes_setup (line 20) | def routes_setup method active_record_setup (line 34) | def active_record_setup FILE: test/controllers/actual_db_schema/phantom_migrations_controller_db_storage_test.rb type ActualDbSchema (line 6) | module ActualDbSchema class PhantomMigrationsControllerDbStorageTest (line 7) | class PhantomMigrationsControllerDbStorageTest < ActionController::Tes... method setup (line 10) | def setup method teardown (line 20) | def teardown method routes_setup (line 25) | def routes_setup method active_record_setup (line 39) | def active_record_setup method setup_utils (line 44) | def setup_utils method configure_storage (line 48) | def configure_storage method configure_app (line 52) | def configure_app method configure_views (line 57) | def configure_views method prepare_database (line 61) | def prepare_database FILE: test/controllers/actual_db_schema/phantom_migrations_controller_test.rb type ActualDbSchema (line 6) | module ActualDbSchema class PhantomMigrationsControllerTest (line 7) | class PhantomMigrationsControllerTest < ActionController::TestCase method setup (line 8) | def setup method routes_setup (line 20) | def routes_setup method active_record_setup (line 34) | def active_record_setup FILE: test/controllers/actual_db_schema/schema_controller_db_storage_test.rb type ActualDbSchema (line 6) | module ActualDbSchema class SchemaControllerDbStorageTest (line 7) | class SchemaControllerDbStorageTest < ActionController::TestCase method setup (line 10) | def setup method teardown (line 21) | def teardown method routes_setup (line 41) | def routes_setup method active_record_setup (line 50) | def active_record_setup method setup_utils (line 55) | def setup_utils method configure_storage (line 59) | def configure_storage method configure_app (line 63) | def configure_app method configure_views (line 68) | def configure_views method prepare_database (line 72) | def prepare_database method stub_schema_diff (line 79) | def stub_schema_diff method define_migrations (line 86) | def define_migrations FILE: test/controllers/actual_db_schema/schema_controller_test.rb type ActualDbSchema (line 6) | module ActualDbSchema class SchemaControllerTest (line 7) | class SchemaControllerTest < ActionController::TestCase method setup (line 8) | def setup method teardown (line 20) | def teardown method routes_setup (line 38) | def routes_setup method active_record_setup (line 47) | def active_record_setup method define_migrations (line 52) | def define_migrations method run_migration (line 76) | def run_migration(file_name, content) method dump_schema (line 82) | def dump_schema method define_schema_diff_html_methods_for_schema_rb (line 94) | def define_schema_diff_html_methods_for_schema_rb method define_schema_diff_html_methods_for_structure_sql (line 103) | def define_schema_diff_html_methods_for_structure_sql method add_surname_to_users_migration (line 112) | def add_surname_to_users_migration FILE: test/rake_task_db_storage_full_test.rb function collect_rollback_events (line 19) | def collect_rollback_events FILE: test/rake_task_delete_broken_versions_db_storage_test.rb function delete_migration_files (line 23) | def delete_migration_files function remove_primary_migration_files (line 30) | def remove_primary_migration_files function remove_secondary_migration_files (line 35) | def remove_secondary_migration_files function delete_primary_storage_entries (line 40) | def delete_primary_storage_entries function delete_secondary_storage_entries (line 45) | def delete_secondary_storage_entries FILE: test/rake_task_delete_broken_versions_test.rb function delete_migration_files (line 21) | def delete_migration_files FILE: test/rake_task_schema_diff_db_storage_test.rb function invoke_rake_task (line 85) | def invoke_rake_task function migration_path (line 92) | def migration_path(file_name) FILE: test/rake_task_schema_diff_test.rb function migration_path (line 60) | def migration_path(file_name) function invoke_rake_task (line 64) | def invoke_rake_task(schema_path) function run_migration (line 69) | def run_migration(file_name, content) function dump_schema (line 75) | def dump_schema function add_surname_to_users_migration (line 369) | def add_surname_to_users_migration function remove_middle_name_from_users_migration (line 379) | def remove_middle_name_from_users_migration function change_price_precision_in_products_migration (line 389) | def change_price_precision_in_products_migration function rename_name_to_full_name_in_users_migration (line 399) | def rename_name_to_full_name_in_users_migration function add_index_on_users_middle_name_migration (line 409) | def add_index_on_users_middle_name_migration function remove_index_on_users_name_migration (line 419) | def remove_index_on_users_name_migration function rename_index_on_users_name_migration (line 429) | def rename_index_on_users_name_migration function create_categories_migration (line 439) | def create_categories_migration function drop_categories_migration (line 452) | def drop_categories_migration function drop_products_table_migration (line 462) | def drop_products_table_migration function phantom_migration (line 472) | def phantom_migration FILE: test/rake_task_test.rb function collect_rollback_events (line 17) | def collect_rollback_events FILE: test/support/test_utils.rb class TestUtils (line 3) | class TestUtils method initialize (line 16) | def initialize(migrations_path: "db/migrate", migrated_path: "tmp/migr... method app_file (line 27) | def app_file(path) method remove_app_dir (line 31) | def remove_app_dir(name) method run_migrations (line 35) | def run_migrations method applied_migrations (line 44) | def applied_migrations(db_config = nil) method simulate_input (line 55) | def simulate_input(input) method delete_migrations_files (line 60) | def delete_migrations_files(prefix_name = nil) method delete_migrations_files_for (line 65) | def delete_migrations_files_for(path) method define_migration_file (line 71) | def define_migration_file(filename, content, prefix: nil) method define_migrations (line 86) | def define_migrations(prefix_name = nil) method reset_database_yml (line 108) | def reset_database_yml(db_config) method cleanup_config_files (line 118) | def cleanup_config_files(db_config) method prepare_phantom_migrations (line 127) | def prepare_phantom_migrations(db_config = nil) method cleanup (line 138) | def cleanup(db_config = nil) method clear_db_storage_table (line 151) | def clear_db_storage_table(db_config = nil) method drop_db_storage_table (line 162) | def drop_db_storage_table method migrated_files (line 169) | def migrated_files(db_config = nil) method branch_for (line 180) | def branch_for(version) method define_acronym (line 184) | def define_acronym(acronym) method reset_acronyms (line 190) | def reset_acronyms method primary_database (line 200) | def primary_database method secondary_database (line 204) | def secondary_database method run_migration_tasks (line 210) | def run_migration_tasks method cleanup_call (line 220) | def cleanup_call(prefix_name = nil) method create_schema_migration_table (line 230) | def create_schema_migration_table method schema_migration_class (line 234) | def schema_migration_class method migrated_files_call (line 247) | def migrated_files_call(prefix_name = nil) method clear_schema_call (line 253) | def clear_schema_call method applied_migrations_call (line 257) | def applied_migrations_call method run_sql (line 263) | def run_sql(sql) method metadata (line 267) | def metadata FILE: test/test_actual_db_schema.rb class TestActualDbSchema (line 5) | class TestActualDbSchema < Minitest::Test method test_that_it_has_a_version_number (line 6) | def test_that_it_has_a_version_number FILE: test/test_actual_db_schema_db_storage_test.rb class TestActualDbSchemaDbStorage (line 5) | class TestActualDbSchemaDbStorage < Minitest::Test method setup (line 6) | def setup method teardown (line 10) | def teardown method test_that_it_has_a_version_number (line 14) | def test_that_it_has_a_version_number FILE: test/test_database_filtering.rb function config_name (line 14) | def config_name(db_config) FILE: test/test_helper.rb class FakeApplication (line 19) | class FakeApplication < Rails::Application method initialize (line 20) | def initialize class TestingState (line 28) | class TestingState method reset (line 33) | def self.reset method db_config (line 40) | def self.db_config method sqlite3_config (line 55) | def self.sqlite3_config method postgresql_config (line 70) | def self.postgresql_config method mysql2_config (line 93) | def self.mysql2_config type Minitest (line 121) | module Minitest class Test (line 122) | class Test method before_setup (line 123) | def before_setup method cleanup_migrated_cache (line 139) | def cleanup_migrated_cache method clear_db_storage_tables (line 144) | def clear_db_storage_tables method db_storage_configs (line 153) | def db_storage_configs method drop_db_storage_table (line 160) | def drop_db_storage_table(conn) method drop_db_storage_table_in_schemas (line 169) | def drop_db_storage_table_in_schemas(conn, table_name) type Kernel (line 182) | module Kernel function puts (line 185) | def puts(*args) FILE: test/test_migration_context.rb function current_database (line 39) | def current_database