Overview
Pluto LMS stores all LMS data in an SQL database on a secure server. The Custom Reports tool provided by Pluto LMS allows you to query this database in order to create custom reports as required by your organisation.
Note:Pluto LMS does not offer services to build the queries for you. Please consult a 3rd party consultant or use an in-house SQL developer if you are not able to build SQL queries. (Guides to SQL
here)
Visualising the Pluto LMS Database:
The below graphic will help you visualize how each database table connects to the other. Some important notes:
- This is a simplified graphic and in many instances you can have more than one connection across tables. Each connection was not included otherwise the graphic would become difficult to read.
- The blue boxes represent database tables that primarily link to user data.
- The red boxes represent database tables that primary link to course data.
Each table contains columns and rows. The sample data below will help you understand what information is included in each table.
Database Tables:
Note: The tables below are sample data (with limited numbers of rows shown). Your actual LMS instance will contain more data. We have also only included the important or useful columns required to create custom reports.
When creating an SQL query, the table name will need to be referenced when querying data from the database. These will be used in your FROM statement within your SQL SELECT query.
Click here to learn more.
Unless stated otherwise: 0 often represents "False" or "No" (i.e., the condition is not met), whereas 1 often represents "True" or "Yes" (i.e., the condition is met).
prefix_user:
Table of all users on the LMS with associated information. This table is used to store all user information.
id | auth | deleted | suspended | username | firstname | lastname | email | city | country | firstaccess | timecreated | timemodified |
2512 | manual | 1 | 0 | manager | Site Admin | Demo | manager@plutolms.com | New York | US | 1588835554 | 1588835518 | 1615376366 |
2513 | manual | 1 | 0 | studentdemo1 | Student1 | Demo | student@plutolms.com | Seattle | US | 1588840187 | 1588840175 | 1620883019 |
2539 | manual | 0 | 1 | studentdemo2 | Student2 | Demo | student+noreply1@plutolms.com | Toronto | CA | 1590742680 | 1590742650 | 1620886280 |
2550 | manual | 0 | 0 | studentdemo3 | Student3 | Demo | student+noreply2@plutolms.com | Miami | US | 1591967831 | 1591967692 | 1620886270 |
id: A system generated unique identifier for the specific user (primary key)
auth: The authentication method assigned to the user which grants them access to the LMS
deleted: 1 = User profile has been deleted, 0 = User profile is active
suspended: 1 = User profile has been suspended, 0 = User profile is active
username: Unique username of the user
firstname: The first name of the user
lastname: The last name of the user
email: The email address of the user
city: The city of the user
country: The country of the user
firstaccess: The first time the user logged into the site (Unix)
timecreated: The time the user created on the site (Unix)
timemodified The time the user was modified the site (Unix)
prefix_user_info_field:
This table contains a list of all user profile fields. This table is used to link custom profile field information to the user profile.
id | shortname | name |
1 | organisation | Organisation |
2 | department | Department |
id: A system generated unique identifier for the profile field (primary key)
shortname: The shortname of the profile field
name: The full name of the profile field
prefix_user_info_data:
This table contains the field values for each user. This table is used to link user specific field values to the custom profile field.
id | userid | fieldid | data |
1 | 2513 | 1 | Organisation A |
2 | 2585 | 1 | Organisation A |
3 | 2587 | 1 | Organisation A |
4 | 2550 | 2 | Department B |
5 | 2539 | 2 | Department A |
6 | 2513 | 2 | Department A |
7 | 2584 | 1 | Organisation A |
8 | 2584 | 2 | Department A |
9 | 2585 | 2 |
id: A system generated unique identifier for the field value (primary key)
userid: The id of the system user (foreign key: id column in prefix_user)
fieldid: The profile field id (foreign key: id column in prefix_user_info_field)
data: The profile field value
prefix_user_lastaccess:
This table contains when each user last accessed a particular course. This table can be used to see when a user last accessed a course.
id | userid | courseid | timeaccess |
1 | 2354 | 153 | 1619090191 |
2 | 2549 | 154 | 1625632607 |
3 | 3497 | 155 | 1535793274 |
id: A system generated unique identifier for the last course access of user (primary key)
userid: The id of the system user (foreign key: id column in prefix_user)
courseid: The id of the course (foreign key: id column in prefix_course)
timeaccess: The last time the user viewed the course (Unix)
prefix_course:
Table of courses on LMS with associated information. When a new course is created, it gets added to this table so that you can view course details.
id | category | fullname | shortname | startdate | enddate | timecreated | timemodified |
1 | 0 | LMS | LMS | 0 | 0 | 1448829890 | 1628061040 |
346 | 112 | List Format | List Format | 1606860000 | 0 | 1606902540 | 1629531242 |
351 | 112 | Topics Format | Topics Format | 1606860000 | 0 | 1607058835 | 1629531362 |
372 | 112 | Social Format | Social Format | 1629496800 | 0 | 1629530097 | 1629530649 |
373 | 112 | Single Activity Format | Single Activity Format | 1629496800 | 0 | 1629530774 | 1629530774 |
id: A system generated unique identifier for the specific course (primary key)
category: The course category id.
fullname: The fullname of the course
shortname: The fullname of the course
startdate: The start time of the course (Unix)
enddate: The end time of the course (Unix)
timecreated: The time the course was created (Unix)
timemodified: The time the course was modified (Unix)
prefix_edwreports_course_progress:
Table of completed modules within course, course progress and completion time for each course per user. This table can be used to report on user course progress as a percentage as well as identify when they completed that particular course.
id | courseid | userid | completedmodules | totalmodules | progress | completiontime |
6 | 346 | 2539 | 294,129,422,954 | 22 | 13 | 1627165540 |
11 | 351 | 2539 | 29,762,972 | 7 | 28 | NULL |
14 | 346 | 2584 | 29,412,942 | 22 | 9 | 1628165540 |
20 | 346 | 2550 | NULL | 22 | 0 | NULL |
id: A system generated unique identifier for the course progress data (primary key)
courseid: The id of the course (foreign key: id column in prefix_course)
userid: The id of the system user (foreign key: id column in prefix_user)
completedmodules: The ids of completed activities within that course (foreign key: id column in prefix_course_modules)
totalmodules: The total amount of activities within that course
progress: The percentage of activities completed within that course
completiontime: The time the course was completed (Unix)
prefix_logstore_standard_log:
Table of all logs on LMS site. Every action taken on your LMS site will be listed here. Logs are not erased.
id | eventname | component | action | target | userid | courseid | timecreated | ip |
194145 | \core\event\user_loggedin | core | loggedin | user | 2 | 0 | 1631260107 | 197.311.34.18 |
194146 | \core\event\course_viewed | core | viewed | course | 2 | 1 | 1631260108 | 16.201.3.100 |
57935 | \core\event\user_loggedout | core | loggedout | user | 2 | 0 | 1631260107 | 197.311.34.18 |
57944 | \core\event\user_created | core | created | user | 2 | 0 | 1631260107 | 197.311.34.18 |
57947 | \core\event\dashboard_viewed | core | viewed | dashboard | 2 | 1 | 1631260108 | 16.201.3.100 |
57948 | \core\event\course_category_viewed | core | viewed | course_category | 2 | 0 | 1631260107 | 197.311.34.18 |
57957 | \core\event\badge_awarded | core | awarded | badge | 2 | 0 | 1631260107 | 197.311.34.18 |
57958 | \core\event\notification_sent | core | sent | notification | 2 | 1 | 1631260108 | 16.201.3.100 |
57972 | \core\event\user_profile_viewed | core | viewed | user_profile | 2 | 0 | 1631260107 | 197.311.34.18 |
id: A system generated unique identifier for the log (primary key)
eventname: The action that took place for this log
component: Where the log was actioned
action: The specific action associated to the log
target: The specific target associated to the action
userid: The user id associated to the action (foreign key: id column in prefix_user)
courseid: The course id associated to the action (foreign key: id column in prefix_course)
timecreated: The time the log was created (Unix)
ip: The IP address associated to the log
prefix_cohort:
Table of all user segments and associated information. Note that the database "cohort" reference = "user segment" on the LMS interface.
id | name | timecreated |
25 | Branch A | 1595310679 |
26 | Branch B | 1595310710 |
29 | Branch C | 1595311171 |
id: A system generated unique identifier for the user segment (primary key)
name: The name of the user segment
timecreated: The time the user segment was created (Unix)
prefix_cohort_members:
Table of all user segment members and associated information. This table links users to the respective user segment.
id | cohortid | userid | timeadded |
15 | 26 | 2539 | 1595310725 |
16 | 29 | 2550 | 1595311221 |
36 | 29 | 2587 | 1626870098 |
37 | 29 | 2513 | 1626870098
|
id: A system generated unique identifier for the specific user within the user segment (primary key)
cohortid: The ID of the user segment (foreign key: id column in prefix_cohort)
userid: The ID of the system user within that user segment (foreign key: id column in prefix_user)
timeadded: The time that the user was added to the user segment (Unix)
prefix_course_completions:
Table of users and their course completion times.
id | userid | course | timeenrolled | timecompleted |
28 | 2512 | 351 | 1607058913 | NULL |
29 | 2513 | 351 | 1607058913 | NULL |
33 | 2513 | 346 | 0 | 1615360202 |
34 | 2539 | 346 | 0 | NULL |
id: A system generated unique identifier for the course completion (primary key)
userid: The ID of the system user (foreign key: id column in prefix_user)
course: The ID of the course (foreign key: id column in prefix_course)
timeenrolled: The time the user enrolled into the course (Unix)
timecompleted: The time the user completed the course (Unix)
prefix_course_modules:
Table of modules (activities) associated to courses. Note that the database "module" reference = an "activity" on the LMS interface. These are the activities within your courses.
id | course | module | instance | added | visible | groupmode | completion | completionview |
18 | 1 | 9 | 3 | 1449083112 | 1 | 0 | 0 | 0 |
2931 | 346 | 9 | 170 | 1606902540 | 1 | 0 | 0 | 0 |
2933 | 346 | 15 | 8 | 1606903085 | 1 | 0 | 2 | 1 |
2934 | 346 | 15 | 9 | 1606903182 | 1 | 0 | 2 | 1 |
2937 | 346 | 15 | 11 | 1606903493 | 1 | 0 | 2 | 1 |
2941 | 346 | 15 | 15 | 1606978022 | 1 | 0 | 2 | 1 |
2942 | 346 | 15 | 16 | 1606978969 | 1 | 0 | 2 | 1 |
2943 | 346 | 15 | 17 | 1606979777 | 1 | 0 | 2 | 1 |
id: A system generated unique identifier for the course activity (primary key)
course: The ID of the course (foreign key: id column in prefix_course)
module: The ID of the course activity type (foreign key: id column in prefix_modules)
instance: The instance ID of the specific activity
added: The time the activity was added to the course (Unix)
visible: 1 = Activity is visible to learners, 0 = Activity is not visible
groupmode: 1 = The activity group mode is on, 0 = The activity group mode is off
completion: 1 or 2 = The completion settings have been enabled for this activity and 0 = completion settings are off
completionview: 1 = The completion view has been enabled for this activity and 0 = completion view is off
prefix_modules:
Table of activity types and associated information.
id | name |
1 | assign |
7 | feedback |
8 | folder |
9 | forum |
10 | glossary |
14 | lti |
15 | page |
16 | quiz |
17 | resource |
18 | scorm |
20 | url |
34 | customcert |
37 | attendance |
39 | webexactivity |
40 | zoom |
41 | hvp |
42 | googlemeet |
43 | bigbluebuttonbn |
44 | reservation |
45 | lessonspace |
46 | msteams |
47 | skype |
48 | journal |
id: A system generated unique identifier for the activity type (primary key)
name: The name of the activity type
prefix_course_modules_completion:
Table of activity completion information. This table links users to course activity completions.
id | coursemoduleid | userid | completionstate | viewed | timemodified |
5 | 553 | 3249 | 1 | 1 | 1529959834 |
6 | 539 | 3456 | 1 | 1 | 1529959881 |
7 | 551 | 2384 | 1 | 1 | 1529959901 |
8 | 557 | 2984 | 0 | 0 | 1529959918 |
9 | 556 | 3456 | 0 | 0 | 1529959939 |
10 | 558 | 2384 | 0 | 1 | 1529959958 |
11 | 559 | 1937 | 0 | 1 | 1529959977 |
id: A system generated unique identifier for the specific activity completion (primary key)
coursemoduleid: The ID of the activity (foreign key: id column in prefix_course_modules)
userid: The ID of the system user (foreign key: id column in prefix_user)
completionstate: 0 = Activity is not complete (pass not specified), 1 = Activity is complete (pass not specified), 2 = Activity is complete (with pass), 3 = Activity is complete (not passed) [The pass criteria is defined within the specific activity settings]
viewed: 1 = Activity has been viewed by the user, 0 = Activity has not been viewed by the user
timemodified: The time the activity completion or view was modified (Unix)
prefix_enrol:
Table of all enrollment types. This table displays the different types of enrollments setup for each LMS course.
id | enrol | courseid | enrolstartdate | enrolenddate | roleid | timecreated | timemodified |
848 | manual | 346 | 0 | 0 | 5 | 1606902540 | 1606902540 |
858 | guest | 351 | 0 | 0 | 5 | 1607058835 | 1607058835 |
888 | apply | 372 | 0 | 0 | 5 | 1629530097 | 1629530097 |
889 | self | 373 | 0 | 0 | 5 | 1629530774 | 1629530774 |
890 | lti | 346 | 0 | 0 | 0 | 1631802753 | 1631802753 |
id: A system generated unique identifier for the enrollment type (primary key)
enrol: The type of enrollment
courseid: The ID of the course to which the enrollment is associated (foreign key: id column in prefix_course)
enrolstartdate: The enrollment start date for that course (Unix)
enrolenddate: The enrollment end date for that course (Unix)
roleid: The role ID associated to the enrollment (foreign key: id column in prefix_role)
timecreated: The time the enrollment type was created in that course (Unix)
timemodified: The time the enrollment type was modified in that course (Unix)
prefix_user_enrolments:
Table associating users to the enrollment types. This table links users to the specific course enrollments.
id | enrolid | userid | timestart | timeend | timecreated | timemodified |
73 | 848 | 2512 | 1606978999 | 0 | 1606979016 | 1606979016 |
74 | 848 | 2513 | 1606978999 | 0 | 1606979016 | 1606979016 |
75 | 848 | 2539 | 1606978999 | 0 | 1606979016 | 1606979016 |
77 | 858 | 2512 | 1607058899 | 0 | 1607058913 | 1607058913 |
78 | 858 | 2513 | 1607058899 | 0 | 1607058913 | 1607058913 |
79 | 858 | 2539 | 1607058899 | 0 | 1607058913 | 1607058913 |
80 | 858 | 2550 | 1607058899 | 0 | 1607058913 | 1607058913 |
83 | 848 | 2584 | 1612780999 | 0 | 1612781059 | 1612781059 |
88 | 848 | 2587 | 1620886199 | 0 | 1620886206 | 1620886206 |
89 | 848 | 2550 | 1620886199 | 0 | 1620886206 | 1620886206 |
id: A system generated unique identifier for the user enrollments (primary key)
enrolid: The associated enrollment id (foreign key: id column in prefix_enrol)
userid: The ID of the system user (foreign key: id column in prefix_user)
timestart: The start time of the enrollment for that user (Unix)
timeend: The end time of the enrollment for that user (Unix)
timecreated: The time the enrollment was created (Unix)
timemodified: The time the enrollment was modified (Unix)
prefix_event:
Table of all calendar events within your LMS. These events can be found on the LMS calendar interface.
id | name | description | format | categoryid | courseid | groupid | userid | repeatid | modulename | instance | type | eventtype | timestart | timeduration | timesort | visible | sequence | timemodified | subscriptionid | priority | location |
1 | Happy New Year! | This is a description | 1 | 0 | 1 | 0 | 2 | 0 | 0 | 0 | 0 | site | 1448964000 | 0 | NULL | 1 | 1 | 1449072094 | NULL | NULL | NULL |
5 | My Birthday | It's my birthday! | 1 | 0 | 0 | 0 | 2 | 0 | | 0 | 0 | user | 1587467574 | 0 | NULL | 1 | 1 | 1587468785 | NULL | NULL | NULL |
prefix_scorm:
Table of all SCORM files within your LMS.
id | course | name | reference | version | maxgrade | grademethod | whatgrade | maxattempt | forcecompleted | forcenewattempt | lastattemptlock | masteryoverride | displayattemptstatus | displaycoursestructure | updatefreq | revision | launch | skipview | hidebrowse | hidetoc | nav | navpositionleft | navpositiontop | auto | popup | options | width | height | timeopen | timeclose | timemodified | completionstatusrequired | completionscorerequired | completionstatusallscos | displayactivityname | autocommit |
4 | 351 | SCORM Sample | scormfile.zip | SCORM_1.2 | 100 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 8 | 2 | 1 | 3 | 1 | -100 | -100 | 0 | 0 | | 1000 | 1000 | 0 | 0 | 1629531059 | NULL | NULL | 0 | 0 | 1 |
5 | 351 | SCORM Quiz Example | scormfile2.zip | SCORM_1.2 | 100 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 10 | 2 | 1 | 3 | 1 | -100 | -100 | 0 | 0 | | 1000 | 1000 | 0 | 0 | 1629531063 | NULL | NULL | 0 | 0 | 1 |
prefix_scorm_scoes_track:
Table of all SCORM data with user association.
id | userid | scormid | scoid | attempt | element | value | timemodified |
818 | 2512 | 5 | 10 | 1 | cmi.core.exit | suspend | 1607603576 |
819 | 2512 | 5 | 10 | 1 | cmi.core.lesson_status | passed | 1607607696 |
820 | 2512 | 5 | 10 | 1 | cmi.core.total_time | 0:00:19 | 1607607696 |
821 | 2512 | 5 | 10 | 1 | x.start.time | 1607578492 | 1607603576 |
822 | 2512 | 4 | 8 | 1 | cmi.core.exit | suspend | 1607603576 |
823 | 2512 | 4 | 8 | 1 | cmi.core.lesson_status | incomplete | 1607603576 |
824 | 2512 | 4 | 8 | 1 | cmi.core.total_time | 0:38:56 | 1626872879 |
825 | 2512 | 4 | 8 | 1 | x.start.time | 1607578486 |
prefix_context:
A list of contexts to an instance ID.
id | contextlevel | instanceid |
1 | 10 | 0 |
2 | 50 | 1 |
prefix_badge:
Table of all badges on your LMS.
id | name | description | timecreated | timemodified | usercreated | usermodified | issuername | issuerurl | issuercontact | expiredate | expireperiod | courseid | messagesubject |
4 | 100% quiz score | Congratulations - you win a badge for obtaining 100% in your quiz score | 1535477409 | 1537970050 | 417 | 417 | Pluto LMS | https://plutolms.com | info@plutolms.com | NULL | NULL | NULL | Congratulations! You just earned a badge! |
16 | Champion! | Awarded to user to participates in course | 1615279668 | 1615279695 | 2 | 2 | Pluto LMS | https://plutolms.com | info@plutolms.com | NULL | NULL | 346 | Congratulations! You just earned a badge! |
prefix_badge_issued:
Table of all badges linked to users.
id | badgeid | userid | uniquehash | dateissued | dateexpire | visible | issuernotified | issuercontact | expiredate | expireperiod | courseid | messagesubject |
36 | 4 | 428 | 5d9b24eb2ed19cca7e7b1917f1d5cc6310a3e0ba | 1537970050 | NULL | 1 | NULL | info@plutolms.com | NULL | NULL | NULL | Congratulations! You just earned a badge! |
41 | 4 | 442 | 9c5bd45f37d949a57a60b80e3b6091ca5bad5647 | 1538081031 | NULL | 1 | NULL | info@plutolms.com | NULL | NULL | 346 | Congratulations! You just earned a badge! |
prefix_role:
Table of all roles on your LMS.
id | name | shortname | description |
1 | Site Admin | siteadmin | Site Admin can update and modify all settings across the site. |
2 | Course Creator | sitecoursecreator | Course creators can create new courses. |
3 | Course Instructor | editingteacher | Instructors can do anything within a course, including changing the activities and grading learners. |
4 | Manager | coursemanager | Course Managers can teach in courses and grade students, but may not alter activities. |
5 | Learner | learner | Learners generally have fewer privileges within a course. |
id: A system generated unique identifier for the specific role (primary key)
name: The name of the role
shortname: The shortname of the role
description: The description of the role
prefix_role_assignments:
Table of all roles assigned to users. This table links users to the role within context.
id | roleid | contextid | userid | timemodified |
1 | 1 | 1 | 3 | 1642150707 |
5 | 2 | 1 | 6 | 1642760401 |
id: A system generated unique identifier for the role assignment (primary key)
roleid: The ID of the system role (foreign key: id column in prefix_role)
contextid: The context ID of the role assignment (foreign key: id column in prefix_context)
userid: The ID of the system user (foreign key: id column in prefix_user)
timemodified: The time the role assignment was modified
prefix_grade_grades:
Table of all grades assigned to users.
id | itemid | userid | rawgrade | rawgrademax | rawgrademin | rawscaleid | usermodified | finalgrade | hidden | locked | locktime | exported | overridden | excluded | feedback | feedbackformat | information | informationformat | timecreated | timemodified | aggregationstatus | aggregationweight |
1 | 19 | 417 | NULL | 10 | 0 | NULL | 417 | NULL | 0 | 0 | 0 | 0 | 0 | 0 | NULL | 0 | NULL | 0 | NULL | NULL | novalue | 0 |
2 | 6 | 417 | NULL | 100 | 0 | NULL | NULL | NULL | 0 | 0 | 0 | 0 | 0 | 0 | NULL | 0 | NULL | 0 | NULL | NULL | unknown | NULL |
3 | 20 | 417 | NULL | 10 | 0 | NULL | NULL | NULL | 0 | 0 | 0 | 0 | 0 | 0 | NULL | 0 | NULL | 0 | NULL | NULL | novalue | 0 |
prefix_grade_items:
Table of all graded items within your course. These grade items can be found within the course gradebook via the LMS interface.
id | courseid | categoryid | itemname | itemtype | itemmodule | iteminstance | itemnumber | iteminfo | idnumber | calculation | gradetype | grademax | grademin | scaleid | outcomeid | gradepass | multfactor | plusfactor | aggregationcoef | aggregationcoef2 | sortorder | display | decimals | hidden | locked | locktime | needsupdate | weightoverride | timecreated | timemodified |
1 | 1 | NULL | NULL | course | NULL | 1 | NULL | NULL | NULL | NULL | 1 | 0 | 0 | NULL | NULL | 0 | 1 | 0 | 0 | 0 | 1 | 0 | NULL | 0 | 0 | 0 | 0 | 0 | 1449071314 | 1449071314 |
3 | 155 | NULL | NULL | course | NULL | 3 | NULL | NULL | NULL | NULL | 1 | 0 | 0 | NULL | NULL | 0 | 1 | 0 | 0 | 0 | 1 | 0 | NULL | 0 | 0 | 0 | 1 | 0 | 1533667316 | 1533667316 |
4 | 156 | NULL | NULL | course | NULL | 4 | NULL | NULL | NULL | NULL | 1 | 20 | 0 | NULL | NULL | 0 | 1 | 0 | 0 | 0 | 1 | 0 | NULL | 0 | 0 | 0 | 0 | 0 | 1533804888 | 1533915674 |
prefix_groups:
Table of all groups within your LMS courses.
id | courseid | name | timecreated | timemodified |
1 | 234 | Team A | 1559391180 | 1559391326 |
2 | 234 | Team B | 1559391375 | 1559391446 |
3 | 345 | Team C | 1559392954 | 1559393077 |
id: A system generated unique identifier for the group (primary key)
courseid: The course ID (foreign key: id column in prefix_course)
name: The name of the course group
timecreated: The time the course group was created (Unix)
timemodified: The time the course group was modified (Unix)
prefix_groups_members:
Table of users and their associated groups.
id | groupid | userid | timeadded |
1 | 1 | 601 | 1559391207 |
2 | 1 | 765 | 1559391267 |
3 | 3 | 871 | 1559391281 |
id: A system generated unique identifier for the group members (primary key)
groupid: The ID of the course group (foreign key: id column in prefix_groups)
userid: The ID of the user (foreign key: id column in prefix_user)
timeadded: The time the user was added to the course group
prefix_data:
Table of all data tables linked to courses.
id | course | name | timemodified |
1 | 33 | Progress Import | 1689075976 |
2 | 34 | Grade Import | 1689075976 |
id: A system generated unique identifier for the data table (primary key)
course: The ID of the course where the data table is located (foreign key: id column in prefix_course)
name: The name of the data table
timemodified: The time the data table was last modified
prefix_data_fields:
Table of all data table fields created within data tables.
id | dataid | type | name | timemodified |
5 | 3 | text | Column 1 | 1689075976 |
6 | 3 | text | Column 2 | 1689075976 |
id: A system generated unique identifier for the data table fields (primary key)
dataid: The ID of the data table to which the field is associated (foreign key: id column in prefix_data)
type: The type of field
name: The field name
timemodified: The time the field was modified (Unix)
prefix_data_records:
Table of all data table records and associated user.
id | userid | dataid | timecreated | timemodified |
5 | 2 | 3 | 1689075976 | 1689075976 |
6 | 2 | 3 | 1689075976 | 1689075976 |
id: A system generated unique identifier for the data table records (primary key)
userid: The ID of the system user (foreign key: id column in prefix_user)
dataid: The ID of the data table to which the record is associated (foreign key: id column in prefix_data)
timecreated: The time the record was created (Unix)
timemodified: The time the record was modified (Unix)
prefix_data_content:
Table of all data table field inputs and associated fields.
id | fieldid | recordid | content |
5 | 26 | 3 | Sample Text |
6 | 27 | 3 | Sample Text 2 |
id: A system generated unique identifier for the data table field values (primary key)
fieldid: The ID of the field (foreign key: id column in prefix_data_fields)
recordid: The ID of the record (foreign key: id column in prefix_data_records)
content: The field value