forked from Hay1tsme/artemis
diva: changed player_name length to 10
This commit is contained in:
parent
c99bfda015
commit
8bdc2071da
@ -1,2 +1,3 @@
|
|||||||
ALTER TABLE diva_profile DROP COLUMN passwd_stat;
|
ALTER TABLE diva_profile DROP COLUMN passwd_stat;
|
||||||
ALTER TABLE diva_profile DROP COLUMN passwd;
|
ALTER TABLE diva_profile DROP COLUMN passwd;
|
||||||
|
ALTER TABLE diva_profile MODIFY player_name VARCHAR(8);
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
ALTER TABLE diva_profile ADD COLUMN passwd_stat INTEGER NOT NULL DEFAULT 0;
|
ALTER TABLE diva_profile ADD COLUMN passwd_stat INTEGER NOT NULL DEFAULT 0;
|
||||||
ALTER TABLE diva_profile ADD COLUMN passwd VARCHAR(12) NOT NULL DEFAULT "**********";
|
ALTER TABLE diva_profile ADD COLUMN passwd VARCHAR(12) NOT NULL DEFAULT "**********";
|
||||||
|
ALTER TABLE diva_profile MODIFY player_name VARCHAR(10);
|
||||||
|
@ -14,7 +14,7 @@ profile = Table(
|
|||||||
Column("user", ForeignKey("aime_user.id", ondelete="cascade",
|
Column("user", ForeignKey("aime_user.id", ondelete="cascade",
|
||||||
onupdate="cascade"), nullable=False),
|
onupdate="cascade"), nullable=False),
|
||||||
Column("version", Integer, nullable=False),
|
Column("version", Integer, nullable=False),
|
||||||
Column("player_name", String(8), nullable=False),
|
Column("player_name", String(10), nullable=False),
|
||||||
Column("lv_str", String(24), nullable=False, server_default="Dab on 'em"),
|
Column("lv_str", String(24), nullable=False, server_default="Dab on 'em"),
|
||||||
Column("lv_num", Integer, nullable=False, server_default="0"),
|
Column("lv_num", Integer, nullable=False, server_default="0"),
|
||||||
Column("lv_pnt", Integer, nullable=False, server_default="0"),
|
Column("lv_pnt", Integer, nullable=False, server_default="0"),
|
||||||
|
Loading…
Reference in New Issue
Block a user