Skip to content

Commit 805ab68

Browse files
committed
Add some more data
1 parent c3b2172 commit 805ab68

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

bad-data.sql

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
INSERT INTO customers(id, size, created, distance)
2+
VALUES
3+
('C16', 'XML', '2022-08-25 18:02:52', 74),
4+
('C01', 'M', '2022-08-25 18:02:52', 74);

customers.contract.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ columns:
1414
checks:
1515
- type: invalid_count
1616
valid_values: ['S', 'M', 'L']
17-
must_be_less_than: 10
17+
must_be_less_than: 1
1818
- name: created
1919
data_type: TIMESTAMP
2020
- name: distance

data.sql

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
11
INSERT INTO customers(id, size, created, distance)
22
VALUES
33
('C01', 'M', '2020-05-20 13:02:52', 74),
4-
('C02', 'M', '2021-07-19 13:02:52', 234);
4+
('C02', 'M', '2021-07-19 13:02:52', 234),
5+
('C03', 'L', '2022-01-10 10:15:30', 112),
6+
('C04', 'S', '2023-03-22 09:45:00', 54),
7+
('C05', 'L', '2019-11-05 16:23:10', 298),
8+
('C06', 'M', '2021-05-15 08:34:25', 185),
9+
('C07', 'L', '2020-08-30 17:50:55', 90),
10+
('C08', 'S', '2022-11-21 14:27:38', 123),
11+
('C09', 'M', '2018-07-13 11:05:42', 76),
12+
('C10', 'S', '2021-12-31 20:18:07', 201),
13+
('C11', 'L', '2020-06-18 13:22:43', 110),
14+
('C12', 'M', '2023-02-14 12:30:00', 64),
15+
('C13', 'S', '2019-09-09 07:12:56', 45),
16+
('C14', 'M', '2022-04-17 18:45:12', 320),
17+
('C15', 'M', '2020-12-25 21:05:33', 89);

0 commit comments

Comments
 (0)