forked from noxious/server
Added alignment to user schema
This commit is contained in:
parent
057b8bd603
commit
5724c56627
@ -68,6 +68,7 @@ CREATE TABLE `Character` (
|
||||
`mana` INTEGER NOT NULL DEFAULT 100,
|
||||
`level` INTEGER NOT NULL DEFAULT 1,
|
||||
`experience` INTEGER NOT NULL DEFAULT 0,
|
||||
`alignment` INTEGER NOT NULL DEFAULT 50,
|
||||
`role` VARCHAR(191) NOT NULL DEFAULT 'player',
|
||||
`positionX` INTEGER NOT NULL DEFAULT 0,
|
||||
`positionY` INTEGER NOT NULL DEFAULT 0,
|
||||
|
@ -39,6 +39,7 @@ model Character {
|
||||
mana Int @default(100)
|
||||
level Int @default(1)
|
||||
experience Int @default(0)
|
||||
alignment Int @default(50)
|
||||
role String @default("player")
|
||||
positionX Int @default(0)
|
||||
positionY Int @default(0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user