Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
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
project
drupal
Commits
7f7904ad
Commit
7f7904ad
authored
13 years ago
by
Dries Buytaert
Browse files
Options
Downloads
Patches
Plain Diff
- Patch
#1120928
by catch: {history} table is owned by system module.
parent
e78f1a6f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/node/node.install
+28
-0
28 additions, 0 deletions
modules/node/node.install
modules/system/system.install
+0
-27
0 additions, 27 deletions
modules/system/system.install
with
28 additions
and
27 deletions
modules/node/node.install
+
28
−
0
View file @
7f7904ad
...
...
@@ -395,6 +395,34 @@ function node_schema() {
),
);
$schema
[
'history'
]
=
array
(
'description'
=>
'A record of which {users} have read which {node}s.'
,
'fields'
=>
array
(
'uid'
=>
array
(
'description'
=>
'The {users}.uid that read the {node} nid.'
,
'type'
=>
'int'
,
'not null'
=>
TRUE
,
'default'
=>
0
,
),
'nid'
=>
array
(
'description'
=>
'The {node}.nid that was read.'
,
'type'
=>
'int'
,
'not null'
=>
TRUE
,
'default'
=>
0
,
),
'timestamp'
=>
array
(
'description'
=>
'The Unix timestamp at which the read occurred.'
,
'type'
=>
'int'
,
'not null'
=>
TRUE
,
'default'
=>
0
,
),
),
'primary key'
=>
array
(
'uid'
,
'nid'
),
'indexes'
=>
array
(
'nid'
=>
array
(
'nid'
),
),
);
return
$schema
;
}
...
...
This diff is collapsed.
Click to expand it.
modules/system/system.install
+
0
−
27
View file @
7f7904ad
...
...
@@ -952,33 +952,6 @@ function system_schema() {
),
);
$schema
[
'history'
]
=
array
(
'description'
=>
'A record of which {users} have read which {node}s.'
,
'fields'
=>
array
(
'uid'
=>
array
(
'description'
=>
'The {users}.uid that read the {node} nid.'
,
'type'
=>
'int'
,
'not null'
=>
TRUE
,
'default'
=>
0
,
),
'nid'
=>
array
(
'description'
=>
'The {node}.nid that was read.'
,
'type'
=>
'int'
,
'not null'
=>
TRUE
,
'default'
=>
0
,
),
'timestamp'
=>
array
(
'description'
=>
'The Unix timestamp at which the read occurred.'
,
'type'
=>
'int'
,
'not null'
=>
TRUE
,
'default'
=>
0
,
),
),
'primary key'
=>
array
(
'uid'
,
'nid'
),
'indexes'
=>
array
(
'nid'
=>
array
(
'nid'
),
),
);
$schema
[
'menu_router'
]
=
array
(
'description'
=>
'Maps paths to various callbacks (access, page and title)'
,
'fields'
=>
array
(
...
...
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