File: 05_schema_fixup.dpatch

package info (click to toggle)
libnss-pgsql 1.4.0debian-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,596 kB
  • ctags: 137
  • sloc: sh: 9,625; ansic: 983; xml: 392; makefile: 70; sql: 38
file content (18 lines) | stat: -rw-r--r-- 538 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/sh /usr/share/dpatch/dpatch-run
## 05_schema_fixup.dpatch by Stephen Gran <sgran@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Correct primary key declaration

@DPATCH@
--- a/conf/dbschema.sql	(revision 89)
+++ b/conf/dbschema.sql	(working copy)
@@ -19,7 +19,7 @@
 	"gecos" character varying(128),
 	"homedir" character varying(256) NOT NULL,
 	"shell" character varying DEFAULT '/bin/bash' NOT NULL,
-	PRIMARY KEY ("username")
+	PRIMARY KEY ("uid")
 );
 
 CREATE TABLE "usergroups" (