Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
WordPress_SexHackMe_Plugin
Project
Project
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
SexHackMe
WordPress_SexHackMe_Plugin
Commits
d38c3330
Commit
d38c3330
authored
Jul 17, 2022
by
Franco (nextime) Lanza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add post_id on video tables
parent
994df8aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
sexhackme.php
sexhackme.php
+3
-1
No files found.
sexhackme.php
View file @
d38c3330
...
...
@@ -166,6 +166,8 @@ if(!class_exists('SexHackMe_Plugin')) {
$sql_query
=
"CREATE TABLE
{
$wpdb
->
prefix
}{
$this
->
prefix
}
videos (
id bigint(20) AUTO_INCREMENT NOT NULL,
user_id bigint(20) NOT NULL,
post_id biting(20) NOT NULL,
product_id bigint(20) NOT NULL DEFAULT '0',
status ENUM('creating', 'uploading', 'queue', 'processing', 'ready','published','error') NOT NULL DEFAULT 'creating',
private ENUM('Y', 'N') NOT NULL DEFAULT 'N',
visible ENUM('Y', 'N') NOT NULL DEFAULT 'Y',
...
...
@@ -173,7 +175,6 @@ if(!class_exists('SexHackMe_Plugin')) {
description varchar(1024) NOT NULL,
uploaded datetime DEFAULT NULL,
slug varchar(256) NOT NULL,
product_id bigint(20) NOT NULL DEFAULT '0',
price float(10) NOT NULL DEFAULT '0',
video_type ENUM('FLAT','VR') NOT NULL DEFAULT 'FLAT',
vr_projection ENUM('VR180_LR', 'VR360_LR') NOT NULL DEFAULT 'VR180_LR',
...
...
@@ -204,6 +205,7 @@ if(!class_exists('SexHackMe_Plugin')) {
sells bigint(32) NOT NULL DEFAULT '0',
PRIMARY KEY (id),
KEY user_id (user_id),
KEY post_id (post_id),
KEY slug (slug),
KEY price (price),
KEY video_type (video_type),
...
...
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