Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
question2answer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
outils
question2answer
Commits
ae971b95
Commit
ae971b95
authored
Nov 02, 2016
by
pupi1985
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Turn double to single quotes
parent
bee68c29
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
install.php
qa-include/db/install.php
+4
-4
No files found.
qa-include/db/install.php
View file @
ae971b95
...
...
@@ -136,7 +136,7 @@
'userlevels'
=>
array
(
'userid'
=>
$useridcoltype
.
' NOT NULL'
,
// the user who has this level
'entitytype'
=>
"CHAR(1) CHARACTER SET ascii NOT NULL"
,
// see qa-app-updates.php
'entitytype'
=>
'CHAR(1) CHARACTER SET ascii NOT NULL'
,
// see qa-app-updates.php
'entityid'
=>
'INT UNSIGNED NOT NULL'
,
// relevant postid / userid / tag wordid / categoryid
'level'
=>
'TINYINT UNSIGNED'
,
// if not NULL, special permission level for that user and that entity
'UNIQUE userid (userid, entitytype, entityid)'
,
...
...
@@ -179,7 +179,7 @@
'userfavorites'
=>
array
(
'userid'
=>
$useridcoltype
.
' NOT NULL'
,
// the user who favorited the entity
'entitytype'
=>
"CHAR(1) CHARACTER SET ascii NOT NULL"
,
// see qa-app-updates.php
'entitytype'
=>
'CHAR(1) CHARACTER SET ascii NOT NULL'
,
// see qa-app-updates.php
'entityid'
=>
'INT UNSIGNED NOT NULL'
,
// favorited postid / userid / tag wordid / categoryid
'nouserevents'
=>
'TINYINT UNSIGNED NOT NULL'
,
// do we skip writing events to the user stream?
'PRIMARY KEY (userid, entitytype, entityid)'
,
...
...
@@ -200,7 +200,7 @@
'userevents'
=>
array
(
'userid'
=>
$useridcoltype
.
' NOT NULL'
,
// the user to be informed about this event in their updates
'entitytype'
=>
"CHAR(1) CHARACTER SET ascii NOT NULL"
,
// see qa-app-updates.php
'entitytype'
=>
'CHAR(1) CHARACTER SET ascii NOT NULL'
,
// see qa-app-updates.php
'entityid'
=>
'INT UNSIGNED NOT NULL'
,
// favorited source of event - see userfavorites table - 0 means not from a favorite
'questionid'
=>
'INT UNSIGNED NOT NULL'
,
// the affected question
'lastpostid'
=>
'INT UNSIGNED NOT NULL'
,
// what part of question was affected
...
...
@@ -212,7 +212,7 @@
),
'sharedevents'
=>
array
(
'entitytype'
=>
"CHAR(1) CHARACTER SET ascii NOT NULL"
,
// see qa-app-updates.php
'entitytype'
=>
'CHAR(1) CHARACTER SET ascii NOT NULL'
,
// see qa-app-updates.php
'entityid'
=>
'INT UNSIGNED NOT NULL'
,
// see userfavorites table
'questionid'
=>
'INT UNSIGNED NOT NULL'
,
// see userevents table
'lastpostid'
=>
'INT UNSIGNED NOT NULL'
,
// see userevents table
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment