| def |
restobar_db |
cash_sessions |
id |
1 |
NULL
|
NO |
int |
NULL
|
NULL
|
10 |
0 |
NULL
|
NULL
|
NULL
|
int(11) |
PRI |
auto_increment |
select,insert,update,references |
|
NEVER |
NULL
|
| def |
restobar_db |
cash_sessions |
user_id |
2 |
NULL
|
NO |
int |
NULL
|
NULL
|
10 |
0 |
NULL
|
NULL
|
NULL
|
int(11) |
MUL |
|
select,insert,update,references |
|
NEVER |
NULL
|
| def |
restobar_db |
cash_sessions |
opening_balance |
3 |
NULL
|
NO |
decimal |
NULL
|
NULL
|
10 |
2 |
NULL
|
NULL
|
NULL
|
decimal(10,2) |
|
|
select,insert,update,references |
|
NEVER |
NULL
|
| def |
restobar_db |
cash_sessions |
opening_time |
4 |
current_timestamp() |
NO |
timestamp |
NULL
|
NULL
|
NULL
|
NULL
|
0 |
NULL
|
NULL
|
timestamp |
|
|
select,insert,update,references |
|
NEVER |
NULL
|
| def |
restobar_db |
cash_sessions |
closing_time |
5 |
NULL |
YES |
timestamp |
NULL
|
NULL
|
NULL
|
NULL
|
0 |
NULL
|
NULL
|
timestamp |
|
|
select,insert,update,references |
|
NEVER |
NULL
|
| def |
restobar_db |
cash_sessions |
status |
6 |
'open' |
YES |
enum |
6 |
24 |
NULL
|
NULL
|
NULL
|
utf8mb4 |
utf8mb4_general_ci |
enum('open','closed') |
|
|
select,insert,update,references |
|
NEVER |
NULL
|
| def |
restobar_db |
cash_sessions |
expected_closing_balance |
7 |
0.00 |
YES |
decimal |
NULL
|
NULL
|
10 |
2 |
NULL
|
NULL
|
NULL
|
decimal(10,2) |
|
|
select,insert,update,references |
|
NEVER |
NULL
|
| def |
restobar_db |
cash_sessions |
actual_closing_balance |
8 |
0.00 |
YES |
decimal |
NULL
|
NULL
|
10 |
2 |
NULL
|
NULL
|
NULL
|
decimal(10,2) |
|
|
select,insert,update,references |
|
NEVER |
NULL
|
| def |
restobar_db |
cash_sessions |
difference |
9 |
0.00 |
YES |
decimal |
NULL
|
NULL
|
10 |
2 |
NULL
|
NULL
|
NULL
|
decimal(10,2) |
|
|
select,insert,update,references |
|
NEVER |
NULL
|
| def |
restobar_db |
cash_sessions |
note |
10 |
NULL |
YES |
text |
65535 |
65535 |
NULL
|
NULL
|
NULL
|
utf8mb4 |
utf8mb4_general_ci |
text |
|
|
select,insert,update,references |
|
NEVER |
NULL
|
| def |
restobar_db |
categories |
id |
1 |
NULL
|
NO |
int |
NULL
|
NULL
|
10 |
0 |
NULL
|
NULL
|
NULL
|
int(11) |
PRI |
auto_increment |
select,insert,update,references |
|
NEVER |
NULL
|
| def |
restobar_db |
categories |
name |
2 |
NULL
|
NO |
varchar |
50 |
200 |
NULL
|
NULL
|
NULL
|
utf8mb4 |
utf8mb4_general_ci |
varchar(50) |
|
|
select,insert,update,references |
|
NEVER |
NULL
|
| def |
restobar_db |
categories |
icon |
3 |
'utensils' |
YES |
varchar |
50 |
200 |
NULL
|
NULL
|
NULL
|
utf8mb4 |
utf8mb4_general_ci |
varchar(50) |
|
|
select,insert,update,references |
|
NEVER |
NULL
|
| def |
restobar_db |
categories |
sort_order |
4 |
0 |
YES |
int |
NULL
|
NULL
|
10 |
0 |
NULL
|
NULL
|
NULL
|
int(11) |
MUL |
|
select,insert,update,references |
|
NEVER |
NULL
|
| def |
restobar_db |
categories |
exclude_from_commission |
5 |
0 |
YES |
tinyint |
NULL
|
NULL
|
3 |
0 |
NULL
|
NULL
|
NULL
|
tinyint(1) |
|
|
select,insert,update,references |
|
NEVER |
NULL
|
| def |
restobar_db |
clients |
id |
1 |
NULL
|
NO |
int |
NULL
|
NULL
|
10 |
0 |
NULL
|
NULL
|
NULL
|
int(11) |
PRI |
auto_increment |
select,insert,update,references |
|
NEVER |
NULL
|
| def |
restobar_db |
clients |
name |
2 |
NULL
|
NO |
varchar |
100 |
400 |
NULL
|
NULL
|
NULL
|
utf8mb4 |
utf8mb4_unicode_ci |
varchar(100) |
|
|
select,insert,update,references |
|
NEVER |
NULL
|
| def |
restobar_db |
clients |
phone |
3 |
NULL
|
NO |
varchar |
20 |
80 |
NULL
|
NULL
|
NULL
|
utf8mb4 |
utf8mb4_unicode_ci |
varchar(20) |
UNI |
|
select,insert,update,references |
|
NEVER |
NULL
|
| def |
restobar_db |
clients |
address |
4 |
NULL |
YES |
text |
65535 |
65535 |
NULL
|
NULL
|
NULL
|
utf8mb4 |
utf8mb4_unicode_ci |
text |
|
|
select,insert,update,references |
|
NEVER |
NULL
|
| def |
restobar_db |
clients |
created_at |
5 |
current_timestamp() |
NO |
timestamp |
NULL
|
NULL
|
NULL
|
NULL
|
0 |
NULL
|
NULL
|
timestamp |
|
|
select,insert,update,references |
|
NEVER |
NULL
|
| def |
restobar_db |
courtesies |
id |
1 |
NULL
|
NO |
int |
NULL
|
NULL
|
10 |
0 |
NULL
|
NULL
|
NULL
|
int(11) |
PRI |
auto_increment |
select,insert,update,references |
|
NEVER |
NULL
|
| def |
restobar_db |
courtesies |
beneficiary |
2 |
NULL
|
NO |
varchar |
100 |
400 |
NULL
|
NULL
|
NULL
|
utf8mb4 |
utf8mb4_unicode_ci |
varchar(100) |
|
|
select,insert,update,references |
|
NEVER |
NULL
|
| def |
restobar_db |
courtesies |
reason |
3 |
NULL |
YES |
text |
65535 |
65535 |
NULL
|
NULL
|
NULL
|
utf8mb4 |
utf8mb4_unicode_ci |
text |
|
|
select,insert,update,references |
|
NEVER |
NULL
|
| def |
restobar_db |
courtesies |
user_id |
4 |
NULL |
YES |
int |
NULL
|
NULL
|
10 |
0 |
NULL
|
NULL
|
NULL
|
int(11) |
MUL |
|
select,insert,update,references |
|
NEVER |
NULL
|
| def |
restobar_db |
courtesies |
created_at |
5 |
current_timestamp() |
NO |
timestamp |
NULL
|
NULL
|
NULL
|
NULL
|
0 |
NULL
|
NULL
|
timestamp |
|
|
select,insert,update,references |
|
NEVER |
NULL
|