Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for 0.00 values (bank and money) #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions redemrp.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ CREATE TABLE `characters` (
`identifier` varchar(50) COLLATE utf8mb4_bin DEFAULT NULL,
`characterid` int(11) DEFAULT 0,
`citizenid` varchar(10) COLLATE utf8mb4_bin NOT NULL,
`money` int(11) DEFAULT 0,
`bank` int(11) DEFAULT 0,
`money` double(11,2) DEFAULT 0.00,
`bank` double(11,2) DEFAULT 0.00,
`job` varchar(50) COLLATE utf8mb4_bin DEFAULT 'unemployed',
`firstname` varchar(50) COLLATE utf8mb4_bin DEFAULT 'first',
`lastname` varchar(50) COLLATE utf8mb4_bin DEFAULT 'last',
Expand Down Expand Up @@ -100,4 +100,4 @@ ALTER TABLE `stashes`

ALTER TABLE `user_inventory`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
COMMIT;
COMMIT;