├── .github └── workflows │ └── ci.yml ├── .gitignore ├── .rspec ├── .rubocop.yml ├── .yardopts ├── CHANGELOG.md ├── CONTRIBUTING.md ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── bin ├── console ├── rake ├── rspec ├── setup └── yard ├── lib ├── pg_trunk.rb └── pg_trunk │ ├── core.rb │ ├── core │ ├── adapters │ │ └── postgres.rb │ ├── dependencies_resolver.rb │ ├── generators.rb │ ├── operation.rb │ ├── operation │ │ ├── attributes.rb │ │ ├── callbacks.rb │ │ ├── generators.rb │ │ ├── inversion.rb │ │ ├── registration.rb │ │ ├── ruby_builder.rb │ │ ├── ruby_helpers.rb │ │ ├── sql_helpers.rb │ │ └── validations.rb │ ├── qualified_name.rb │ ├── railtie.rb │ ├── railtie │ │ ├── command_recorder.rb │ │ ├── custom_types.rb │ │ ├── migration.rb │ │ ├── migrator.rb │ │ ├── schema_dumper.rb │ │ ├── schema_migration.rb │ │ └── statements.rb │ ├── registry.rb │ ├── serializers.rb │ ├── serializers │ │ ├── array_of_hashes_serializer.rb │ │ ├── array_of_strings_serializer.rb │ │ ├── array_of_symbols_serializer.rb │ │ ├── array_serializer.rb │ │ ├── lowercase_string_serializer.rb │ │ ├── multiline_text_serializer.rb │ │ ├── qualified_name_serializer.rb │ │ └── symbol_serializer.rb │ ├── validators.rb │ └── validators │ │ ├── all_items_valid_validator.rb │ │ └── difference_validator.rb │ ├── generators.rb │ ├── operations.rb │ ├── operations │ ├── check_constraints.rb │ ├── check_constraints │ │ ├── add_check_constraint.rb │ │ ├── base.rb │ │ ├── drop_check_constraint.rb │ │ ├── rename_check_constraint.rb │ │ └── validate_check_constraint.rb │ ├── composite_types.rb │ ├── composite_types │ │ ├── base.rb │ │ ├── change_composite_type.rb │ │ ├── column.rb │ │ ├── create_composite_type.rb │ │ ├── drop_composite_type.rb │ │ └── rename_composite_type.rb │ ├── domains.rb │ ├── domains │ │ ├── base.rb │ │ ├── change_domain.rb │ │ ├── constraint.rb │ │ ├── create_domain.rb │ │ ├── drop_domain.rb │ │ └── rename_domain.rb │ ├── enums.rb │ ├── enums │ │ ├── base.rb │ │ ├── change.rb │ │ ├── change_enum.rb │ │ ├── create_enum.rb │ │ ├── drop_enum.rb │ │ └── rename_enum.rb │ ├── foreign_keys.rb │ ├── foreign_keys │ │ ├── add_foreign_key.rb │ │ ├── base.rb │ │ ├── drop_foreign_key.rb │ │ └── rename_foreign_key.rb │ ├── functions.rb │ ├── functions │ │ ├── base.rb │ │ ├── change_function.rb │ │ ├── create_function.rb │ │ ├── drop_function.rb │ │ └── rename_function.rb │ ├── indexes.rb │ ├── indexes │ │ └── add_index.rb │ ├── materialized_views.rb │ ├── materialized_views │ │ ├── base.rb │ │ ├── change_materialized_view.rb │ │ ├── column.rb │ │ ├── create_materialized_view.rb │ │ ├── drop_materialized_view.rb │ │ ├── refresh_materialized_view.rb │ │ └── rename_materialized_view.rb │ ├── procedures.rb │ ├── procedures │ │ ├── base.rb │ │ ├── change_procedure.rb │ │ ├── create_procedure.rb │ │ ├── drop_procedure.rb │ │ └── rename_procedure.rb │ ├── rules.rb │ ├── rules │ │ ├── base.rb │ │ ├── create_rule.rb │ │ ├── drop_rule.rb │ │ └── rename_rule.rb │ ├── sequences.rb │ ├── sequences │ │ ├── base.rb │ │ ├── change_sequence.rb │ │ ├── create_sequence.rb │ │ ├── drop_sequence.rb │ │ └── rename_sequence.rb │ ├── statistics.rb │ ├── statistics │ │ ├── base.rb │ │ ├── create_statistics.rb │ │ ├── drop_statistics.rb │ │ └── rename_statistics.rb │ ├── tables.rb │ ├── tables │ │ └── create_table.rb │ ├── triggers.rb │ ├── triggers │ │ ├── base.rb │ │ ├── change_trigger.rb │ │ ├── create_trigger.rb │ │ ├── drop_trigger.rb │ │ └── rename_trigger.rb │ ├── views.rb │ └── views │ │ ├── base.rb │ │ ├── change_view.rb │ │ ├── create_view.rb │ │ ├── drop_view.rb │ │ └── rename_view.rb │ └── version.rb ├── pg_trunk.gemspec └── spec ├── dummy ├── .gitignore ├── Rakefile ├── bin │ ├── bundle │ ├── rails │ └── rake ├── config.ru ├── config │ ├── application.rb │ ├── boot.rb │ ├── database.yml │ └── environment.rb └── db │ ├── materialized_views │ └── admin_users_v01.sql │ ├── migrate │ └── .keep │ ├── schema.rb │ └── views │ ├── admin_users_v01.sql │ └── admin_users_v02.sql ├── operations ├── check_constraints │ ├── add_check_constraint_spec.rb │ ├── drop_check_constraint_spec.rb │ └── rename_check_constraint_spec.rb ├── composite_types │ ├── change_composite_type_spec.rb │ ├── create_composite_type_spec.rb │ ├── drop_composite_type_spec.rb │ └── rename_composite_type_spec.rb ├── dependency_resolver_spec.rb ├── domains │ ├── change_domain_spec.rb │ ├── create_domain_spec.rb │ ├── drop_domain_spec.rb │ └── rename_domain_spec.rb ├── enums │ ├── change_enum_spec.rb │ ├── create_enum_spec.rb │ ├── drop_enum_spec.rb │ └── rename_enum_spec.rb ├── foreign_keys │ ├── add_foreign_key_spec.rb │ ├── drop_foreign_key_spec.rb │ └── rename_foreign_key_spec.rb ├── functions │ ├── change_function_spec.rb │ ├── create_function_spec.rb │ ├── drop_function_spec.rb │ └── rename_function_spec.rb ├── indexes │ └── add_index_spec.rb ├── materialized_views │ ├── change_materialized_view_spec.rb │ ├── create_materialized_view_spec.rb │ ├── drop_materialized_view_spec.rb │ ├── refresh_materialized_view_spec.rb │ └── rename_materialized_view_spec.rb ├── procedures │ ├── change_procedure_spec.rb │ ├── create_procedure_spec.rb │ ├── drop_procedure_spec.rb │ └── rename_procedure_spec.rb ├── rules │ ├── create_rule_spec.rb │ ├── drop_rule_spec.rb │ └── rename_rule_spec.rb ├── sequences │ ├── change_sequence_spec.rb │ ├── create_sequence_spec.rb │ ├── drop_sequence_spec.rb │ └── rename_sequence_spec.rb ├── statistics │ ├── create_statistics_spec.rb │ ├── drop_statistics_spec.rb │ └── rename_statistics_spec.rb ├── tables │ ├── create_table_spec.rb │ └── rename_table_spec.rb ├── triggers │ ├── change_trigger_spec.rb │ ├── create_trigger_spec.rb │ ├── drop_trigger_spec.rb │ └── rename_trigger_spec.rb └── views │ ├── change_view_spec.rb │ ├── create_view_spec.rb │ ├── drop_view_spec.rb │ └── rename_view_spec.rb ├── pg_trunk └── dependencies_resolver_spec.rb ├── spec_helper.rb └── support └── migrations_helper.rb /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/.rspec -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.yardopts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/.yardopts -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/bin/console -------------------------------------------------------------------------------- /bin/rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/bin/rake -------------------------------------------------------------------------------- /bin/rspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/bin/rspec -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/bin/setup -------------------------------------------------------------------------------- /bin/yard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/bin/yard -------------------------------------------------------------------------------- /lib/pg_trunk.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/adapters/postgres.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/adapters/postgres.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/dependencies_resolver.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/dependencies_resolver.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/generators.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/generators.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/operation.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/operation.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/operation/attributes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/operation/attributes.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/operation/callbacks.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/operation/callbacks.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/operation/generators.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/operation/generators.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/operation/inversion.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/operation/inversion.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/operation/registration.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/operation/registration.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/operation/ruby_builder.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/operation/ruby_builder.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/operation/ruby_helpers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/operation/ruby_helpers.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/operation/sql_helpers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/operation/sql_helpers.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/operation/validations.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/operation/validations.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/qualified_name.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/qualified_name.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/railtie.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/railtie.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/railtie/command_recorder.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/railtie/command_recorder.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/railtie/custom_types.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/railtie/custom_types.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/railtie/migration.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/railtie/migration.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/railtie/migrator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/railtie/migrator.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/railtie/schema_dumper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/railtie/schema_dumper.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/railtie/schema_migration.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/railtie/schema_migration.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/railtie/statements.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/railtie/statements.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/registry.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/registry.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/serializers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/serializers.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/serializers/array_of_hashes_serializer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/serializers/array_of_hashes_serializer.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/serializers/array_of_strings_serializer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/serializers/array_of_strings_serializer.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/serializers/array_of_symbols_serializer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/serializers/array_of_symbols_serializer.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/serializers/array_serializer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/serializers/array_serializer.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/serializers/lowercase_string_serializer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/serializers/lowercase_string_serializer.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/serializers/multiline_text_serializer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/serializers/multiline_text_serializer.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/serializers/qualified_name_serializer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/serializers/qualified_name_serializer.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/serializers/symbol_serializer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/serializers/symbol_serializer.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/validators.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/validators.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/validators/all_items_valid_validator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/validators/all_items_valid_validator.rb -------------------------------------------------------------------------------- /lib/pg_trunk/core/validators/difference_validator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/core/validators/difference_validator.rb -------------------------------------------------------------------------------- /lib/pg_trunk/generators.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/generators.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/check_constraints.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/check_constraints.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/check_constraints/add_check_constraint.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/check_constraints/add_check_constraint.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/check_constraints/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/check_constraints/base.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/check_constraints/drop_check_constraint.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/check_constraints/drop_check_constraint.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/check_constraints/rename_check_constraint.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/check_constraints/rename_check_constraint.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/check_constraints/validate_check_constraint.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/check_constraints/validate_check_constraint.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/composite_types.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/composite_types.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/composite_types/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/composite_types/base.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/composite_types/change_composite_type.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/composite_types/change_composite_type.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/composite_types/column.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/composite_types/column.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/composite_types/create_composite_type.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/composite_types/create_composite_type.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/composite_types/drop_composite_type.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/composite_types/drop_composite_type.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/composite_types/rename_composite_type.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/composite_types/rename_composite_type.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/domains.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/domains.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/domains/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/domains/base.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/domains/change_domain.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/domains/change_domain.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/domains/constraint.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/domains/constraint.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/domains/create_domain.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/domains/create_domain.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/domains/drop_domain.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/domains/drop_domain.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/domains/rename_domain.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/domains/rename_domain.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/enums.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/enums.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/enums/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/enums/base.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/enums/change.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/enums/change.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/enums/change_enum.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/enums/change_enum.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/enums/create_enum.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/enums/create_enum.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/enums/drop_enum.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/enums/drop_enum.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/enums/rename_enum.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/enums/rename_enum.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/foreign_keys.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/foreign_keys.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/foreign_keys/add_foreign_key.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/foreign_keys/add_foreign_key.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/foreign_keys/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/foreign_keys/base.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/foreign_keys/drop_foreign_key.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/foreign_keys/drop_foreign_key.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/foreign_keys/rename_foreign_key.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/foreign_keys/rename_foreign_key.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/functions.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/functions.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/functions/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/functions/base.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/functions/change_function.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/functions/change_function.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/functions/create_function.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/functions/create_function.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/functions/drop_function.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/functions/drop_function.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/functions/rename_function.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/functions/rename_function.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/indexes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/indexes.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/indexes/add_index.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/indexes/add_index.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/materialized_views.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/materialized_views.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/materialized_views/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/materialized_views/base.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/materialized_views/change_materialized_view.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/materialized_views/change_materialized_view.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/materialized_views/column.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/materialized_views/column.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/materialized_views/create_materialized_view.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/materialized_views/create_materialized_view.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/materialized_views/drop_materialized_view.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/materialized_views/drop_materialized_view.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/materialized_views/refresh_materialized_view.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/materialized_views/refresh_materialized_view.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/materialized_views/rename_materialized_view.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/materialized_views/rename_materialized_view.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/procedures.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/procedures.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/procedures/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/procedures/base.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/procedures/change_procedure.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/procedures/change_procedure.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/procedures/create_procedure.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/procedures/create_procedure.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/procedures/drop_procedure.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/procedures/drop_procedure.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/procedures/rename_procedure.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/procedures/rename_procedure.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/rules.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/rules.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/rules/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/rules/base.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/rules/create_rule.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/rules/create_rule.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/rules/drop_rule.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/rules/drop_rule.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/rules/rename_rule.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/rules/rename_rule.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/sequences.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/sequences.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/sequences/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/sequences/base.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/sequences/change_sequence.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/sequences/change_sequence.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/sequences/create_sequence.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/sequences/create_sequence.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/sequences/drop_sequence.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/sequences/drop_sequence.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/sequences/rename_sequence.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/sequences/rename_sequence.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/statistics.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/statistics.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/statistics/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/statistics/base.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/statistics/create_statistics.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/statistics/create_statistics.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/statistics/drop_statistics.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/statistics/drop_statistics.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/statistics/rename_statistics.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/statistics/rename_statistics.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/tables.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/tables.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/tables/create_table.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/tables/create_table.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/triggers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/triggers.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/triggers/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/triggers/base.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/triggers/change_trigger.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/triggers/change_trigger.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/triggers/create_trigger.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/triggers/create_trigger.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/triggers/drop_trigger.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/triggers/drop_trigger.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/triggers/rename_trigger.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/triggers/rename_trigger.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/views.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/views.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/views/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/views/base.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/views/change_view.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/views/change_view.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/views/create_view.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/views/create_view.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/views/drop_view.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/views/drop_view.rb -------------------------------------------------------------------------------- /lib/pg_trunk/operations/views/rename_view.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/lib/pg_trunk/operations/views/rename_view.rb -------------------------------------------------------------------------------- /lib/pg_trunk/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module PGTrunk 4 | # @private 5 | VERSION = "0.2.0" 6 | end 7 | -------------------------------------------------------------------------------- /pg_trunk.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/pg_trunk.gemspec -------------------------------------------------------------------------------- /spec/dummy/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/dummy/.gitignore -------------------------------------------------------------------------------- /spec/dummy/Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/dummy/Rakefile -------------------------------------------------------------------------------- /spec/dummy/bin/bundle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/dummy/bin/bundle -------------------------------------------------------------------------------- /spec/dummy/bin/rails: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/dummy/bin/rails -------------------------------------------------------------------------------- /spec/dummy/bin/rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/dummy/bin/rake -------------------------------------------------------------------------------- /spec/dummy/config.ru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/dummy/config.ru -------------------------------------------------------------------------------- /spec/dummy/config/application.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/dummy/config/application.rb -------------------------------------------------------------------------------- /spec/dummy/config/boot.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/dummy/config/boot.rb -------------------------------------------------------------------------------- /spec/dummy/config/database.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/dummy/config/database.yml -------------------------------------------------------------------------------- /spec/dummy/config/environment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/dummy/config/environment.rb -------------------------------------------------------------------------------- /spec/dummy/db/materialized_views/admin_users_v01.sql: -------------------------------------------------------------------------------- 1 | SELECT id, name FROM users WHERE admin; -------------------------------------------------------------------------------- /spec/dummy/db/migrate/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/dummy/db/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/dummy/db/schema.rb -------------------------------------------------------------------------------- /spec/dummy/db/views/admin_users_v01.sql: -------------------------------------------------------------------------------- 1 | SELECT id, name FROM users WHERE admin; -------------------------------------------------------------------------------- /spec/dummy/db/views/admin_users_v02.sql: -------------------------------------------------------------------------------- 1 | SELECT NULL::bigint AS id, name FROM users WHERE admin; -------------------------------------------------------------------------------- /spec/operations/check_constraints/add_check_constraint_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/check_constraints/add_check_constraint_spec.rb -------------------------------------------------------------------------------- /spec/operations/check_constraints/drop_check_constraint_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/check_constraints/drop_check_constraint_spec.rb -------------------------------------------------------------------------------- /spec/operations/check_constraints/rename_check_constraint_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/check_constraints/rename_check_constraint_spec.rb -------------------------------------------------------------------------------- /spec/operations/composite_types/change_composite_type_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/composite_types/change_composite_type_spec.rb -------------------------------------------------------------------------------- /spec/operations/composite_types/create_composite_type_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/composite_types/create_composite_type_spec.rb -------------------------------------------------------------------------------- /spec/operations/composite_types/drop_composite_type_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/composite_types/drop_composite_type_spec.rb -------------------------------------------------------------------------------- /spec/operations/composite_types/rename_composite_type_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/composite_types/rename_composite_type_spec.rb -------------------------------------------------------------------------------- /spec/operations/dependency_resolver_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/dependency_resolver_spec.rb -------------------------------------------------------------------------------- /spec/operations/domains/change_domain_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/domains/change_domain_spec.rb -------------------------------------------------------------------------------- /spec/operations/domains/create_domain_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/domains/create_domain_spec.rb -------------------------------------------------------------------------------- /spec/operations/domains/drop_domain_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/domains/drop_domain_spec.rb -------------------------------------------------------------------------------- /spec/operations/domains/rename_domain_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/domains/rename_domain_spec.rb -------------------------------------------------------------------------------- /spec/operations/enums/change_enum_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/enums/change_enum_spec.rb -------------------------------------------------------------------------------- /spec/operations/enums/create_enum_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/enums/create_enum_spec.rb -------------------------------------------------------------------------------- /spec/operations/enums/drop_enum_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/enums/drop_enum_spec.rb -------------------------------------------------------------------------------- /spec/operations/enums/rename_enum_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/enums/rename_enum_spec.rb -------------------------------------------------------------------------------- /spec/operations/foreign_keys/add_foreign_key_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/foreign_keys/add_foreign_key_spec.rb -------------------------------------------------------------------------------- /spec/operations/foreign_keys/drop_foreign_key_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/foreign_keys/drop_foreign_key_spec.rb -------------------------------------------------------------------------------- /spec/operations/foreign_keys/rename_foreign_key_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/foreign_keys/rename_foreign_key_spec.rb -------------------------------------------------------------------------------- /spec/operations/functions/change_function_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/functions/change_function_spec.rb -------------------------------------------------------------------------------- /spec/operations/functions/create_function_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/functions/create_function_spec.rb -------------------------------------------------------------------------------- /spec/operations/functions/drop_function_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/functions/drop_function_spec.rb -------------------------------------------------------------------------------- /spec/operations/functions/rename_function_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/functions/rename_function_spec.rb -------------------------------------------------------------------------------- /spec/operations/indexes/add_index_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/indexes/add_index_spec.rb -------------------------------------------------------------------------------- /spec/operations/materialized_views/change_materialized_view_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/materialized_views/change_materialized_view_spec.rb -------------------------------------------------------------------------------- /spec/operations/materialized_views/create_materialized_view_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/materialized_views/create_materialized_view_spec.rb -------------------------------------------------------------------------------- /spec/operations/materialized_views/drop_materialized_view_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/materialized_views/drop_materialized_view_spec.rb -------------------------------------------------------------------------------- /spec/operations/materialized_views/refresh_materialized_view_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/materialized_views/refresh_materialized_view_spec.rb -------------------------------------------------------------------------------- /spec/operations/materialized_views/rename_materialized_view_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/materialized_views/rename_materialized_view_spec.rb -------------------------------------------------------------------------------- /spec/operations/procedures/change_procedure_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/procedures/change_procedure_spec.rb -------------------------------------------------------------------------------- /spec/operations/procedures/create_procedure_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/procedures/create_procedure_spec.rb -------------------------------------------------------------------------------- /spec/operations/procedures/drop_procedure_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/procedures/drop_procedure_spec.rb -------------------------------------------------------------------------------- /spec/operations/procedures/rename_procedure_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/procedures/rename_procedure_spec.rb -------------------------------------------------------------------------------- /spec/operations/rules/create_rule_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/rules/create_rule_spec.rb -------------------------------------------------------------------------------- /spec/operations/rules/drop_rule_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/rules/drop_rule_spec.rb -------------------------------------------------------------------------------- /spec/operations/rules/rename_rule_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/rules/rename_rule_spec.rb -------------------------------------------------------------------------------- /spec/operations/sequences/change_sequence_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/sequences/change_sequence_spec.rb -------------------------------------------------------------------------------- /spec/operations/sequences/create_sequence_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/sequences/create_sequence_spec.rb -------------------------------------------------------------------------------- /spec/operations/sequences/drop_sequence_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/sequences/drop_sequence_spec.rb -------------------------------------------------------------------------------- /spec/operations/sequences/rename_sequence_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/sequences/rename_sequence_spec.rb -------------------------------------------------------------------------------- /spec/operations/statistics/create_statistics_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/statistics/create_statistics_spec.rb -------------------------------------------------------------------------------- /spec/operations/statistics/drop_statistics_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/statistics/drop_statistics_spec.rb -------------------------------------------------------------------------------- /spec/operations/statistics/rename_statistics_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/statistics/rename_statistics_spec.rb -------------------------------------------------------------------------------- /spec/operations/tables/create_table_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/tables/create_table_spec.rb -------------------------------------------------------------------------------- /spec/operations/tables/rename_table_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/tables/rename_table_spec.rb -------------------------------------------------------------------------------- /spec/operations/triggers/change_trigger_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/triggers/change_trigger_spec.rb -------------------------------------------------------------------------------- /spec/operations/triggers/create_trigger_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/triggers/create_trigger_spec.rb -------------------------------------------------------------------------------- /spec/operations/triggers/drop_trigger_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/triggers/drop_trigger_spec.rb -------------------------------------------------------------------------------- /spec/operations/triggers/rename_trigger_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/triggers/rename_trigger_spec.rb -------------------------------------------------------------------------------- /spec/operations/views/change_view_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/views/change_view_spec.rb -------------------------------------------------------------------------------- /spec/operations/views/create_view_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/views/create_view_spec.rb -------------------------------------------------------------------------------- /spec/operations/views/drop_view_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/views/drop_view_spec.rb -------------------------------------------------------------------------------- /spec/operations/views/rename_view_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/operations/views/rename_view_spec.rb -------------------------------------------------------------------------------- /spec/pg_trunk/dependencies_resolver_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/pg_trunk/dependencies_resolver_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/support/migrations_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nepalez/pg_trunk/HEAD/spec/support/migrations_helper.rb --------------------------------------------------------------------------------