Skip to content

Commit

Permalink
Merge pull request #70 from execonic/master
Browse files Browse the repository at this point in the history
Fix IPv6 statistics bug
  • Loading branch information
splitbrain committed Dec 12, 2023
2 parents db963d1 + 5d8b6a5 commit 278606d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions db.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ CREATE TABLE `stats_access` (
`dt` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`page` VARCHAR(255)
COLLATE utf8_unicode_ci NOT NULL,
`ip` VARCHAR(15)
`ip` VARCHAR(40)
COLLATE utf8_unicode_ci NOT NULL,
`ua` VARCHAR(255)
COLLATE utf8_unicode_ci NOT NULL,
Expand Down Expand Up @@ -40,7 +40,7 @@ CREATE TABLE `stats_access` (
COLLATE =utf8_unicode_ci;

CREATE TABLE `stats_iplocation` (
`ip` VARCHAR(15)
`ip` VARCHAR(40)
COLLATE utf8_unicode_ci NOT NULL,
`code` VARCHAR(3)
COLLATE utf8_unicode_ci NOT NULL,
Expand Down Expand Up @@ -261,3 +261,7 @@ CREATE TABLE `stats_groups` (

-- UPGRADE added 2019-04-10
ALTER TABLE `stats_history` MODIFY COLUMN `value` BIGINT;

-- UPGRADE added 2023-12-08
ALTER TABLE `stats_iplocation` MODIFY COLUMN `ip` VARCHAR(40);
ALTER TABLE `stats_access` MODIFY COLUMN `ip` VARCHAR(40);
Binary file added ico/os/win10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 278606d

Please sign in to comment.