Sha256: dcc699dc7be33ca9b6f05057ccede27b8d76898ba200aa513ea5d08f47c78695
Contents?: true
Size: 414 Bytes
Versions: 2
Compression:
Stored size: 414 Bytes
Contents
class CreateArchangelMetatags < ActiveRecord::Migration[5.2] def change create_table :archangel_metatags do |t| t.references :metatagable, polymorphic: true, index: false t.string :name t.string :content t.timestamps end add_index :archangel_metatags, [:metatagable_id, :metatagable_type], name: "index_archangel_metatags_on_metatagable_id_and_type" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
archangel-0.4.0 | db/migrate/20190113130750_create_archangel_metatags.rb |
archangel-0.3.0 | db/migrate/20190113130750_create_archangel_metatags.rb |