Sha256: 466f8fa1c135aa34fde7bb535cfe6ad1dfaf80679999c324b5dacd378eb2ad73
Contents?: true
Size: 597 Bytes
Versions: 30
Compression:
Stored size: 597 Bytes
Contents
class CreateManifestationCustomValues < ActiveRecord::Migration[5.2] def change create_table :manifestation_custom_values do |t| t.references :manifestation_custom_property, null: false, foreign_key: true, index: {name: 'index_manifestation_custom_values_on_custom_property_id'} t.references :manifestation, null: false, foreign_key: true t.text :value t.timestamps end add_index :manifestation_custom_values, [:manifestation_custom_property_id, :manifestation_id], unique: true, name: 'index_manifestation_custom_values_on_property_manifestation' end end
Version data entries
30 entries across 30 versions & 10 rubygems