Parcourir la source

Added markdown file

main
rpm-mcarman il y a 2 ans
Parent
révision
282c8e201b
3 fichiers modifiés avec 23 ajouts et 2 suppressions
  1. +21
    -0
      DBResequencer.md
  2. +1
    -1
      obj/Debug/net8.0/resequence_pgsql.AssemblyInfo.cs
  3. +1
    -1
      obj/Debug/net8.0/resequence_pgsql.AssemblyInfoInputs.cache

+ 21
- 0
DBResequencer.md Voir le fichier

@@ -0,0 +1,21 @@
# 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.

+ 1
- 1
obj/Debug/net8.0/resequence_pgsql.AssemblyInfo.cs Voir le fichier

@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("resequence_pgsql")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+c40cf0adf2cfeb27f48047c7254220361fca8865")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+7146d6e391e6633262eb22da4a9d338236acd0e4")]
[assembly: System.Reflection.AssemblyProductAttribute("resequence_pgsql")]
[assembly: System.Reflection.AssemblyTitleAttribute("resequence_pgsql")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]


+ 1
- 1
obj/Debug/net8.0/resequence_pgsql.AssemblyInfoInputs.cache Voir le fichier

@@ -1 +1 @@
9a0eee66f79ddaec6eea97d73cbde0fc6c67f5fb70d57715f248d7d679ceaffa
7a8dbe0a7d5a5a3c774a88bf1cb37bf7efa46b9b51d0c3c51244dd0c58c553ae

Chargement…
Annuler
Enregistrer