Sha256: 2de1ab9d8cbf362711bcb465193c4f00b062a30d14b1ec6c2094788cadab8c72

Contents?: true

Size: 190 Bytes

Versions: 18

Compression:

Stored size: 190 Bytes

Contents

class AddUuidToUsers < ActiveRecord::Migration[6.0]

  def change
    # uuid_type = connection.adapter_name =~ /PostgreSQL/i ? :uuid : :string
    add_column :users, :uuid, :uuid
  end

end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
symphonia-6.0.6 db/migrate/20200428180001_add_uuid_to_users.rb
symphonia-6.0.5 db/migrate/20200428180001_add_uuid_to_users.rb
symphonia-6.0.4 db/migrate/20200428180001_add_uuid_to_users.rb
symphonia-6.0.2 db/migrate/20200428180001_add_uuid_to_users.rb
symphonia-6.0.1 db/migrate/20200428180001_add_uuid_to_users.rb
symphonia-6.0.0 db/migrate/20200428180001_add_uuid_to_users.rb
symphonia-5.0.6 db/migrate/20200428180001_add_uuid_to_users.rb
symphonia-5.0.5 db/migrate/20200428180001_add_uuid_to_users.rb
symphonia-5.0.4 db/migrate/20200428180001_add_uuid_to_users.rb
symphonia-5.0.3 db/migrate/20200428180001_add_uuid_to_users.rb
symphonia-5.0.0 db/migrate/20200428180001_add_uuid_to_users.rb
symphonia-4.2.0 db/migrate/20200428180001_add_uuid_to_users.rb
symphonia-4.1.3 db/migrate/20200428180001_add_uuid_to_users.rb
symphonia-4.1.2 db/migrate/20200428180001_add_uuid_to_users.rb
symphonia-4.1.1 db/migrate/20200428180001_add_uuid_to_users.rb
symphonia-4.1.0 db/migrate/20200428180001_add_uuid_to_users.rb
symphonia-4.0.1 db/migrate/20200428180001_add_uuid_to_users.rb
symphonia-4.0.0 db/migrate/20200428180001_add_uuid_to_users.rb