Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
smradius
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
shail
smradius
Commits
61002765
Commit
61002765
authored
15 years ago
by
Robert Anderson
Browse files
Options
Downloads
Patches
Plain Diff
* Fixed mysql syntax
parent
9115559f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
database/core.tsql
+15
-1
15 additions, 1 deletion
database/core.tsql
database/wisp.tsql
+2
-2
2 additions, 2 deletions
database/wisp.tsql
with
17 additions
and
3 deletions
database/core.tsql
+
15
−
1
View file @
61002765
...
...
@@ -84,6 +84,20 @@ CREATE TABLE @PREFIX@users_to_groups (
CREATE INDEX @PREFIX@users_to_groups_idx1 ON @PREFIX@users_to_groups (UserID,GroupID);
/* Topups */
CREATE TABLE @PREFIX@topups (
ID @SERIAL_TYPE@,
UserID @SERIAL_REF_TYPE@ NOT NULL,
ValidFrom DATETIME,
ValidTo DATETIME,
Value @INT_UNSIGNED@,
FOREIGN KEY (UserID) REFERENCES @PREFIX@users(ID)
) @CREATE_TABLE_SUFFIX@;
/* Realms */
CREATE TABLE @PREFIX@realms (
...
...
@@ -91,7 +105,7 @@ CREATE TABLE @PREFIX@realms (
Name VARCHAR(255) NOT NULL,
Disabled SMALLINT NOT NULL DEFAULT '0'
,
Disabled SMALLINT NOT NULL DEFAULT '0'
) @CREATE_TABLE_SUFFIX@;
CREATE INDEX @PREFIX@realms_idx1 ON @PREFIX@realms (Name);
...
...
This diff is collapsed.
Click to expand it.
database/wisp.tsql
+
2
−
2
View file @
61002765
...
...
@@ -20,8 +20,8 @@ CREATE TABLE @PREFIX@wisp_userdata (
FOREIGN KEY (UserID) REFERENCES @PREFIX@users(ID),
FOREIGN KEY (LocationID) REFERENCES @PREFIX@wisp_locations(ID)
) @CREATE_TABLE_SUFFIX@;
CREATE INDEX @PREFIX@userdata_idx1 ON @PREFIX@userdata (UserID);
CREATE INDEX @PREFIX@userdata_idx2 ON @PREFIX@userdata (LocationID);
CREATE INDEX @PREFIX@
wisp_
userdata_idx1 ON @PREFIX@
wisp_
userdata (UserID);
CREATE INDEX @PREFIX@
wisp_
userdata_idx2 ON @PREFIX@
wisp_
userdata (LocationID);
/* User Locations */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment