Skip to content

Commit

Permalink
new version
Browse files Browse the repository at this point in the history
  • Loading branch information
ClicShopping committed Jan 8, 2024
1 parent 68dc597 commit c5f0816
Show file tree
Hide file tree
Showing 11 changed files with 44 additions and 43 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ access tinyint(1) not null default (0)
image varchar(255) default null
b2b_menu tinyint(1) default(0) not_null
app_code varchar(255) default null
status tinyint(1) default(1) not null
status tinyint(1) default(1)
--
primary id
idx_categories_parent_id parent_id
Expand Down
6 changes: 3 additions & 3 deletions includes/ClicShopping/Schema/MariaDb/administrators.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ user_name varchar(255) not_null
user_password varchar(255) not_null
name varchar(255) not_null
first_name varchar(255) not_null
access tinyint(1) not null default (0)
access tinyint(1) default(0) not_null
double_authentification_secret varchar(255) null
status tinyint(1) NOT NULL default (1)
status tinyint(1) default(1) not_null
date_added datetime not_null
last_modified datetime NULL
last_modified datetime null
--
primary id
##
Expand Down
2 changes: 1 addition & 1 deletion includes/ClicShopping/Schema/MariaDb/ip_restriction.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
id int not_null auto_increment
ip_restriction varchar(64) not null
ip_restriction varchar(64) not_null
ip_comment varchar(255) null default null
ip_status_shop tinyint(1) default(0) not_null
ip_status_admin tinyint(1) default(0) not_null
Expand Down
2 changes: 1 addition & 1 deletion includes/ClicShopping/Schema/MariaDb/pages_manager.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pages_id int(11) not_null auto_increment
links_target varchar(6) default('_self') not null
links_target varchar(6) default('_self')
sort_order int(3)
status int(1) default(1) not_null
page_type int(1) default(0) not_null
Expand Down
40 changes: 20 additions & 20 deletions includes/ClicShopping/Schema/MariaDb/return_orders.txt
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
return_id int not null auto_increment
return_ref varchar(32) not null,
order_id int not null,
product_id int not null,
customer_id int not null,
customer_firstname varchar(255) not null,
customer_lastname varchar(255) not null,
customer_email varchar(255) not null,
customer_telephone varchar(32) not null,
product_name varchar(255) not null,
product_model varchar(255) not null,
quantity int(4) not null,
opened tinyint(1) not null default (0),
return_reason_id int not null,
return_action_id int not null,
return_status_id int not null default (1),
comment text not null,
date_ordered date not null,
date_added datetime not null,
return_id int not_null auto_increment
return_ref varchar(32) not_null,
order_id int not_null,
product_id int not_null,
customer_id int not_null,
customer_firstname varchar(255) not_null,
customer_lastname varchar(255) not_null,
customer_email varchar(255) not_null,
customer_telephone varchar(32) not_null,
product_name varchar(255) not_null,
product_model varchar(255) not_null,
quantity int(4) not_null,
opened tinyint(1) not_null default (0),
return_reason_id int not_null,
return_action_id int not_null,
return_status_id int not_null default (1),
comment text not_null,
date_ordered date not_null,
date_added datetime not_null,
date_modified datetime default NULL,
archive tinyint(1) not null default (0)
archive tinyint(1) not_null default (0)
--
primary return_id
##
Expand Down
14 changes: 7 additions & 7 deletions includes/ClicShopping/Schema/MariaDb/return_orders_history.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
return_history_id int not null,
return_id int not null,
return_status_id int not null,
notify tinyint(1) not null,
comment text not null,
date_added datetime not null,
admin_user_name varchar(64) default NULL
return_history_id int not_null,
return_id int not_null,
return_status_id int not_null,
notify tinyint(1) not_null,
comment text not_null,
date_added datetime not_null,
admin_user_name varchar(64) default null

--
primary return_history_id
Expand Down
6 changes: 3 additions & 3 deletions includes/ClicShopping/Schema/MariaDb/return_orders_reason.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
return_reason_id int not null,
language_id int not null default (0),
name varchar(128) not null
return_reason_id int not_null,
language_id int default(0) not_null,
name varchar(128) not_null
--
primary return_reason_id
idx_return_reason_id language_id
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
return_status_id int(11) not null,
language_id int(11) not null default 0,
name varchar(32) not null
return_status_id int(11) not_null,
language_id int(11) default(0) not_null,
name varchar(32) not_null
--
primary return_status_id
idx_return_status_id language_id
Expand Down
2 changes: 1 addition & 1 deletion includes/ClicShopping/Schema/MariaDb/reviews_vote.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ products_id int not_null
reviews_id int not_null
vote tinyint(1) default(0) not_null
customer_id int not_null
sentiment tinyint default(0) not null
sentiment tinyint default(0) not_null
--
primary id
idx_reviews_products_id products_id
Expand Down
6 changes: 3 additions & 3 deletions includes/ClicShopping/Schema/MariaDb/suppliers_info.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
suppliers_id int default(0) not null
languages_id int default(0) not null
suppliers_id int default(0) not_null
languages_id int default(0) not_null
suppliers_url varchar(255)
url_clicked int(5) default(0) not null
url_clicked int(5) default(0) not_null
date_last_click datetime
--
primary suppliers_id languages_id
Expand Down
1 change: 1 addition & 0 deletions sql_upgrade/update3_446.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fix db

0 comments on commit c5f0816

Please sign in to comment.