|
123456789101112131415161718192021 |
- # Postgres Database ID Resequencer
-
-
- 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.
-
- ## Installation
-
- resequence_pgsql requires [dotnetcore](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) v8.0+ to run.
-
- Download the Project
-
- ```sh
- git clone https://cvs.prelub.com/mcarman/resequenced_pgsql.git
- ```
-
- For production environments...
-
- ```sh
- dotnet publish -c Release -r <RID> --output <output directory> resequence_pgsql.sln
- ```
- List of [RID's](https://learn.microsoft.com/en-us/dotnet/core/rid-catalog) can be found here.
|