RubyGems Navigation menu

active_record-postgres-constraints 0.1.4

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:
= 複製 已複製

安裝:
=

版本列表:

  1. 0.2.2 - April 21, 2020 (10.0 KB)
  2. 0.2.1 - March 27, 2020 (10.0 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.0 KB)
顯示所有版本(共 9)

Runtime 相依性套件 (2):

pg >= 0
rails ~> 5.0

Development 相依性套件 (3):

rspec ~> 3.8

擁有者:

作者:

  • Isaac Betesh

SHA 256 總和檢查碼:

5425fc1fc4c29c7d6c98745265e95a93122f1d38f90ece8d7f64c1b9f4c46273

總下載次數 183,187

這個版本 8,119

授權:

MIT

Ruby 版本需求: >= 0

相關連結: