diff options
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/DB/Schema.pm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm index 4cf0ef05e..1c765bb9e 100644 --- a/Bugzilla/DB/Schema.pm +++ b/Bugzilla/DB/Schema.pm @@ -1208,6 +1208,18 @@ use constant ABSTRACT_SCHEMA => { ], }, + token_data => { + FIELDS => [ + id => { TYPE => 'INTSERIAL', NOTNULL => 1, PRIMARYKEY => 1 }, + token => { TYPE => 'varchar(22)', NOTNULL => 1, + REFERENCES => { TABLE => 'tokens', COLUMN => 'token', DELETE => 'CASCADE' }}, + extra_data => { TYPE => 'MEDIUMTEXT', NOTNULL => 1 }, + ], + INDEXES => [ + token_data_idx => { FIELDS => ['token'], TYPE => 'UNIQUE' }, + ], + }, + # GROUPS # ------ |