Przeglądaj źródła

Added markdown file

main
rpm-mcarman 2 lat temu
rodzic
commit
282c8e201b
3 zmienionych plików z 23 dodań i 2 usunięć
  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 Wyświetl plik

@@ -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 Wyświetl plik

@@ -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 Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz