Executable that will resequence ids in all tables of a postgres database built with .netcore 8.0 Cross Platform Compatible
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

DBResequencer.md 781 B

pirms 2 gadiem
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.