Executable that will resequence ids in all tables of a postgres database built with .netcore 8.0 Cross Platform Compatible
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

DBResequencer.md 781 B

123456789101112131415161718192021
  1. # Postgres Database ID Resequencer
  2. resequence_pgsql is a command line utility to resequence ID's from the last id entered so you are not violating primary key constraints in the database after initial seed data or migrated data is inserted into the database. This is for Postgres only through an ssh connection.
  3. ## Installation
  4. resequence_pgsql requires [dotnetcore](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) v8.0+ to run.
  5. Download the Project
  6. ```sh
  7. git clone https://cvs.prelub.com/mcarman/resequenced_pgsql.git
  8. ```
  9. For production environments...
  10. ```sh
  11. dotnet publish -c Release -r <RID> --output <output directory> resequence_pgsql.sln
  12. ```
  13. List of [RID's](https://learn.microsoft.com/en-us/dotnet/core/rid-catalog) can be found here.