Small DB fix

This commit is contained in:
zeruth
2019-06-27 18:01:32 -04:00
committed by zeruth
parent d9b75eec5d
commit 219a25f3c3

View File

@@ -41,7 +41,7 @@ public class AnimationEndpoint
{ {
private static final String CREATE_SQL = "CREATE TABLE IF NOT EXISTS `animation` (\n" private static final String CREATE_SQL = "CREATE TABLE IF NOT EXISTS `animation` (\n"
+ " `id` int(11) NOT NULL AUTO_INCREMENT,\n" + " `id` int(11) NOT NULL AUTO_INCREMENT,\n"
+ " `region` int(11) NOT NULL,\n" + " `npcid` int(11) NOT NULL,\n"
+ " `time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n" + " `time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n"
+ " `rev` int(11) NOT NULL,\n" + " `rev` int(11) NOT NULL,\n"
+ " `anim1` int(11),\n" + " `anim1` int(11),\n"