1 |
unnilennium |
1.1 |
diff -Nur smeserver-sme9admin-1.5.old/root/usr/share/doc/smeserver-sme9admin/tables.sql smeserver-sme9admin-1.5/root/usr/share/doc/smeserver-sme9admin/tables.sql |
2 |
|
|
--- smeserver-sme9admin-1.5.old/root/usr/share/doc/smeserver-sme9admin/tables.sql 2014-12-24 01:41:01.000000000 -0500 |
3 |
|
|
+++ smeserver-sme9admin-1.5/root/usr/share/doc/smeserver-sme9admin/tables.sql 2016-11-23 17:03:50.961000000 -0500 |
4 |
|
|
@@ -28,8 +28,8 @@ |
5 |
|
|
fin datetime, |
6 |
|
|
pid_afpd int unsigned not null, |
7 |
|
|
login varchar(10), |
8 |
|
|
- volume_read int unsigned, |
9 |
|
|
- volume_write int unsigned, |
10 |
|
|
+ volume_read int(20) unsigned, |
11 |
|
|
+ volume_write int(20) unsigned, |
12 |
|
|
primary key (debut) ); |
13 |
|
|
|
14 |
|
|
-- Structure de la table dchpd |
15 |
|
|
@@ -52,8 +52,8 @@ |
16 |
|
|
pid_proftpd int unsigned not null, |
17 |
|
|
login varchar(10), |
18 |
|
|
connecte bool, |
19 |
|
|
- volume_in int unsigned, |
20 |
|
|
- volume_out int unsigned, |
21 |
|
|
+ volume_in int(20) unsigned, |
22 |
|
|
+ volume_out int(20) unsigned, |
23 |
|
|
primary key (debut) ); |
24 |
|
|
|
25 |
|
|
-- Structure de la table pppoe |
26 |
|
|
@@ -65,8 +65,8 @@ |
27 |
|
|
pid_pppd int unsigned not null, |
28 |
|
|
ip int unsigned not null, |
29 |
|
|
peer int unsigned not null, |
30 |
|
|
- volume_in int unsigned, |
31 |
|
|
- volume_out int unsigned, |
32 |
|
|
+ volume_in int(20) unsigned, |
33 |
|
|
+ volume_out int(20) unsigned, |
34 |
|
|
primary key (debut) ); |
35 |
|
|
|
36 |
|
|
-- Structure de la table ssh |
37 |
|
|
@@ -90,6 +90,6 @@ |
38 |
|
|
volume_in int unsigned, |
39 |
|
|
volume_out int unsigned, |
40 |
|
|
login varchar(10), |
41 |
|
|
- pid_pptpd int unsigned not null, |
42 |
|
|
- pid_pppd int unsigned, |
43 |
|
|
+ pid_pptpd int(20) unsigned not null, |
44 |
|
|
+ pid_pppd int(20) unsigned, |
45 |
|
|
primary key (debut) ); |
46 |
|
|
diff -Nur smeserver-sme9admin-1.5.old/root/usr/share/doc/smeserver-sme9admin/tables-update.sql smeserver-sme9admin-1.5/root/usr/share/doc/smeserver-sme9admin/tables-update.sql |
47 |
|
|
--- smeserver-sme9admin-1.5.old/root/usr/share/doc/smeserver-sme9admin/tables-update.sql 2014-12-24 01:41:01.000000000 -0500 |
48 |
|
|
+++ smeserver-sme9admin-1.5/root/usr/share/doc/smeserver-sme9admin/tables-update.sql 2016-11-23 17:07:19.241000000 -0500 |
49 |
unnilennium |
1.2 |
@@ -3,3 +3,17 @@ |
50 |
unnilennium |
1.1 |
|
51 |
|
|
-- Modify one error in table construction |
52 |
|
|
ALTER TABLE `pppoe` CHANGE `ip` `ip` INT( 10 ) UNSIGNED NOT NULL DEFAULT '0' |
53 |
unnilennium |
1.2 |
+; |
54 |
unnilennium |
1.1 |
+-- Update size of some fields |
55 |
|
|
+ALTER TABLE `pppoe` CHANGE `volume_in` `volume_in` INT( 20 ) UNSIGNED NULL DEFAULT NULL , |
56 |
|
|
+CHANGE `volume_out` `volume_out` INT( 20 ) UNSIGNED NULL DEFAULT NULL ; |
57 |
|
|
+ |
58 |
|
|
+ALTER TABLE `vpn` CHANGE `volume_in` `volume_in` INT( 20 ) UNSIGNED NULL DEFAULT NULL , |
59 |
|
|
+CHANGE `volume_out` `volume_out` INT( 20 ) UNSIGNED NULL DEFAULT NULL ; |
60 |
|
|
+ |
61 |
|
|
+ALTER TABLE `ftp` CHANGE `volume_in` `volume_in` INT( 20 ) UNSIGNED NULL DEFAULT NULL , |
62 |
|
|
+CHANGE `volume_out` `volume_out` INT( 20 ) UNSIGNED NULL DEFAULT NULL ; |
63 |
|
|
+ |
64 |
|
|
+ALTER TABLE `afp` CHANGE `volume_write` `volume_write` INT( 20 ) UNSIGNED NULL DEFAULT NULL , |
65 |
|
|
+CHANGE `volume_read` `volume_read` INT( 20 ) UNSIGNED NULL DEFAULT NULL ; |
66 |
|
|
+ |