Bug 347521: flagtypes.id should be an auto-increment field - Patch by Frédéric Buclin <LpSolit@gmail.com> r=bkor a=myk

git-svn-id: svn://10.0.0.236/trunk@206757 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
lpsolit%gmail.com
2006-08-07 22:14:00 +00:00
parent 3479f15de8
commit e87fe9fd46
3 changed files with 11 additions and 7 deletions

View File

@@ -397,7 +397,7 @@ use constant ABSTRACT_SCHEMA => {
# "flagtypes" defines the types of flags that can be set.
flagtypes => {
FIELDS => [
id => {TYPE => 'INT2', NOTNULL => 1,
id => {TYPE => 'SMALLSERIAL', NOTNULL => 1,
PRIMARYKEY => 1},
name => {TYPE => 'varchar(50)', NOTNULL => 1},
description => {TYPE => 'TEXT'},