Executable that will resequence ids in all tables of a postgres database built with .netcore 8.0 Cross Platform Compatible
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

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.