Sha256: 7fb32c8db6a8c0a23715501f086c3034796a251f5bb9fa452b0b79993d018a47

Contents?: true

Size: 300 Bytes

Versions: 1

Compression:

Stored size: 300 Bytes

Contents

class CreatePersistedAttributesTables < ActiveRecord::Migration[7.1]
  def change
    create_table :persisted_attributes_attributes do |t|
      t.references :record, polymorphic: true, null: false
      t.string :name
      t.string :type
      t.string :value

      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
persisted_attributes-0.1.0 db/migrate/20240729120435_create_persisted_attributes_tables.rb