RubyGems Navigation menu

active_record-postgres-constraints 0.2.1

From http://edgeguides.rubyonrails.org/active_record_migrations.html#types-of-schema-dumps: There is however a trade-off: db/schema.rb cannot express database specific items such as triggers, stored procedures or check constraints. While in a migration you can execute custom SQL statements, the schema dumper cannot reconstitute those statements from the database. If you are using features like this, then you should set the schema format to :sql. No longer is this the case. You can now use the default schema format (:ruby) and still preserve your check constraints.

Gemfile:
= Copiar al portapapeles ¡Copiado!

instalar:
=

Versiones:

  1. 0.2.2 - April 21, 2020 (10 KB)
  2. 0.2.1 - March 27, 2020 (10 KB)
  3. 0.2.0 - January 21, 2020 (9,5 KB)
  4. 0.1.5 - March 13, 2019 (8,5 KB)
  5. 0.1.4 - December 07, 2018 (8 KB)
Mostrar todas las versiones (9 total)

dependencias de Runtime (2):

pg >= 0
rails >= 5.0, <= 7.0

dependencias de Development (3):

osm-rubocop = 0.1.16
rspec ~> 3.8

Propietarios:

Subida por:

Autores:

  • Isaac Betesh

SHA 256 checksum:

= Copiar al portapapeles ¡Copiado!

Total de descargas 183.423

Para esta versión 7.658

Licencia:

MIT

Versión de Ruby requerida: >= 0

Enlace: