-- auto-generated definition
create table categories
(
id int auto_increment
primary key,
name varchar(256) not null,
description text not null,
created datetime not null,
modified timestamp default CURRENT_TIMESTAMP not null
)
engine = InnoDB;
-- auto-generated definition
create table products
(
id int auto_increment
primary key,
name varchar(32) not null,
description text not null,
price decimal not null,
category_id int not null,
created datetime not null,
modified timestamp default CURRENT_TIMESTAMP not null
)
engine = InnoDB
charset = latin1;
-- auto-generated definition
create table user
(
id int auto_increment
primary key,
email varchar(250) null,
password varchar(250) not null,
token text null,
token_expire varchar(250) null
);
{
"email" : "turkay@turkayaltintas.com",
"password" : "1234"
}
{
"email" : "turkay@turkayaltintas.com",
"password" : "1234"
}
token : 1369e483c05d3cadea65a50ff0c2c920
id=3
token : 1369e483c05d3cadea65a50ff0c2c920
id=3
token : 1369e483c05d3cadea65a50ff0c2c920
page : 2
s=bez
token : 1369e483c05d3cadea65a50ff0c2c920
{
"name" : "Bebek Bezi",
"price" : "159",
"description" : "Ultra yumuşak bebek bezi.",
"category_id" : 2,
"created" : "2021-12-08 00:35:07",
"token" : "1369e483c05d3cadea65a50ff0c2c9202"
}
{
"id" : "71",
"token" : "1369e483c05d3cadea65a50ff0c2c920"
}
{
"name" : "Bebek Bezi",
"price" : "159",
"description" : "Ultra yumuşak bebek bezi.",
"category_id" : 2,
"created" : "2021-12-08 00:35:07",
"token" : "1369e483c05d3cadea65a50ff0c2c9202"
}
token : 1369e483c05d3cadea65a50ff0c2c920
token : 1369e483c05d3cadea65a50ff0c2c920
file :