Skip to content

Commit 8ef1079

Browse files
committed
change avg_sample_period in MySQL from Decimal to Double
1 parent ecbb898 commit 8ef1079

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

other/mysql/bbdata2-structure.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
-- MySQL Script generated by MySQL Workbench
2-
-- Tue Sep 15 20:27:02 2020
2+
-- Wed Sep 23 16:33:54 2020
33
-- Model: New Model Version: 1.0
44
-- MySQL Workbench Forward Engineering
55

@@ -321,7 +321,7 @@ CREATE TABLE IF NOT EXISTS `stats` (
321321
`n_reads` INT NOT NULL DEFAULT 0,
322322
`n_writes` INT NOT NULL DEFAULT 0,
323323
`last_ts` TIMESTAMP(3) NOT NULL,
324-
`avg_sample_period` DECIMAL(12,2) NOT NULL DEFAULT 0,
324+
`avg_sample_period` DOUBLE NOT NULL DEFAULT 0,
325325
`created` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
326326
`last_modified` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
327327
PRIMARY KEY (`object_id`),

other/mysql/bbdata2.mwb

-6 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)