Executable that will resequence ids in all tables of a postgres database built with .netcore 8.0 Cross Platform Compatible
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

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.