summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-05-06 17:58:43 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-05-06 17:58:43 +0000
commit16f75addc898788433077c4ec6cc59c0873b5b62 (patch)
tree0b7c636157166d8a2df51183d8b181605a6e70a2
parent7a8d05934ffc6400c57f8331f55e73f9ceed502c (diff)
Fixing bug 1713288
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1132 4979c152-3d1c-0410-bac9-87ea11338e46
-rw-r--r--sql/upgrade/1.2-1.3.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/upgrade/1.2-1.3.sql b/sql/upgrade/1.2-1.3.sql
index 0a336ce4..0db60863 100644
--- a/sql/upgrade/1.2-1.3.sql
+++ b/sql/upgrade/1.2-1.3.sql
@@ -19,7 +19,7 @@ SELECT setval('employees_id_seq', (select max(id) + 1 FROM employees));
ALTER TABLE employees ADD COLUMN locations_id integer;
ALTER TABLE employees ADD FOREIGN KEY (locations_id) REFERENCES locations(id);
ALTER TABLE employees ALTER COLUMN id DROP DEFAULT;
-ALTER TABLE employees ALTER COLUMN id SET DEFAULT nextval('employee_id_seq');
+ALTER TABLE employees ALTER COLUMN id SET DEFAULT nextval('employees_id_seq');
DROP RULE employee_id_track_i ON employees; -- no longer needed