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

help #3

Open
78aki opened this issue Feb 3, 2024 · 1 comment
Open

help #3

78aki opened this issue Feb 3, 2024 · 1 comment

Comments

@78aki
Copy link

78aki commented Feb 3, 2024

Error: ponyhof_jobmanager was unable to execute a query!
[ script:oxmysql] Table 'vorpcore_aadb73.jobsalary' doesn't exist
[ script:oxmysql] SELECT * FROM jobsalary []

@Nheoz
Copy link

Nheoz commented Jul 6, 2024

SET SQL_MODE = 'NO_AUTO_VALUE_ON_ZERO';
START TRANSACTION;
SET time_zone = "+00:00";

CREATE TABLE IF NOT EXISTS jobmanager (
identifier varchar(50) NOT NULL,
charidentifier int(11) NOT NULL,
jobname varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

CREATE TABLE IF NOT EXISTS jobgrades (
gradeidentifier int NOT NULL AUTO_INCREMENT,
identifier varchar(50) NOT NULL,
grade int NOT NULL,
gradename varchar(50) NOT NULL,
PRIMARY KEY (gradeidentifier)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

CREATE TABLE IF NOT EXISTS jobsalary (
salaryidentifier int NOT NULL AUTO_INCREMENT,
identifier varchar(50) NOT NULL,
salary int NOT NULL,
type varchar(50) NOT NULL,
PRIMARY KEY (salaryidentifier)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

ALTER TABLE jobmanager
ADD PRIMARY KEY (identifier);

COMMIT;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants