summaryrefslogtreecommitdiff
path: root/data/global.pl
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-07-18 13:04:58 +0200
committerYorhel <git@yorhel.nl>2009-07-18 13:04:58 +0200
commit07467841ff1670b2f365aa265de94fb6b5c421b3 (patch)
tree1bb1230f9e3d3199ccc63013a7122ce30c8ae79c /data/global.pl
parent10160385d7c726774b0e1c66f9e06b1f7ba29af2 (diff)
Modified definition of the anime table
Removed most NOT NULL constraints, and converted lastfetch to a timestamp data type. The site has been updated to handle this, but Multi::Anime won't work.
Diffstat (limited to 'data/global.pl')
-rw-r--r--data/global.pl18
1 files changed, 9 insertions, 9 deletions
diff --git a/data/global.pl b/data/global.pl
index de7307cd..92f52e71 100644
--- a/data/global.pl
+++ b/data/global.pl
@@ -125,15 +125,15 @@ our %S = (%S,
}, 7 ],
},
anime_types => [
- # VNDB AniDB
- [ 'unknown', 'unknown', ],
- [ 'TV', 'TV Series' ],
- [ 'OVA', 'OVA' ],
- [ 'Movie', 'Movie' ],
- [ 'unknown', 'Other' ],
- [ 'unknown', 'Web' ],
- [ 'TV Special', 'TV Special' ],
- [ 'unknown', 'Music Video' ],
+ # AniDB anime type starts counting at 1, 0 = unknown
+ # we start counting at 0, with NULL being unknown
+ 'TV Series',
+ 'OVA',
+ 'Movie',
+ 'Other',
+ 'Web',
+ 'TV Special',
+ 'Music Video',
],
vn_relations => [
# Name, Reverse--