Sha256: c5bcaf4b0855a8077a1ed3bd4137d10cf50f3c70c6de497520c1dc458bbf1b69

Contents?: true

Size: 396 Bytes

Versions: 5

Compression:

Stored size: 396 Bytes

Contents

class CreateCloseEncountersParticipantServices < ActiveRecord::Migration[7.1]
  def change
    create_table :close_encounters_participant_services do |t|
      t.string :name, null: false
      if ActiveRecord::Base.connection.adapter_name.downcase.include?("postgresql")
        t.jsonb :connection_info
      else
        t.text :connection_info
      end

      t.timestamps
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
close_encounters-0.2.1 db/migrate/20240430173723_create_close_encounters_participant_services.rb
close_encounters-0.2.0 db/migrate/20240430173723_create_close_encounters_participant_services.rb
close_encounters-0.1.3 db/migrate/20240430173723_create_close_encounters_participant_services.rb
close_encounters-0.1.2 db/migrate/20240430173723_create_close_encounters_participant_services.rb
close_encounters-0.1.1 db/migrate/20240430173723_create_close_encounters_participant_services.rb