Registry / database / schema-plus-foreign-keys

schema-plus-foreign-keys

JSON →
library1.1.0rbrubygemsunverified

Extended support for foreign key constraints in ActiveRecord, including definition as column attribute, deferrable, SQLite3 support, cleaner dumps, and more.

gem install schema_plus_foreign_keys
INSTALL
IMPORT
SIG · SCHEMA-PLUS-FOREIG
S
schema-plus-foreign-keys
databaserubyv1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SchemaPlus::ForeignKeys
require 'schema_plus_foreign_keys'

Define advanced foreign key constraints in ActiveRecord migrations.

require 'schema_plus_foreign_keys' create_table :posts do |t| t.references :author, foreign_key: { deferrable: true } end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
10
Meta
2
Resources
schema-plus-foreign-keys — gem install schema-plus-foreign-keys · libregistry