Small DB fix
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user