Skip to content

Commit

Permalink
deploy. fix bad syntax in sql
Browse files Browse the repository at this point in the history
  • Loading branch information
edospadoni committed Mar 28, 2018
1 parent 3a9d467 commit 60f9292
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deploy/ansible/roles/icarodb/files/icaro.sql
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,9 @@ CREATE TABLE `sessions` (
`unit_id` bigint unsigned NOT NULL,
`hotspot_id` bigint unsigned NOT NULL,
`device_id` bigint unsigned NOT NULL,
`device_mac` varchar(200) unsigned NOT NULL,
`device_mac` varchar(200) NOT NULL,
`user_id` bigint unsigned NOT NULL,
`username` varchar(500) unsigned NOT NULL,
`username` varchar(500) NOT NULL,
`bytes_up` bigint unsigned,
`bytes_down` bigint unsigned,
`duration` bigint unsigned,
Expand All @@ -196,9 +196,9 @@ CREATE TABLE `session_histories` (
`unit_id` bigint unsigned NOT NULL,
`hotspot_id` bigint unsigned NOT NULL,
`device_id` bigint unsigned NOT NULL,
`device_mac` varchar(200) unsigned NOT NULL,
`device_mac` varchar(200) NOT NULL,
`user_id` bigint unsigned NOT NULL,
`username` varchar(500) unsigned NOT NULL,
`username` varchar(500) NOT NULL,
`bytes_up` bigint unsigned,
`bytes_down` bigint unsigned,
`duration` bigint unsigned,
Expand Down

0 comments on commit 60f9292

Please sign in to comment.