Skip to content

Commit 0eb6be9

Browse files
committed
Add test for SRID in column definition
1 parent abe850f commit 0eb6be9

File tree

2 files changed

+800
-0
lines changed

2 files changed

+800
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
CREATE TABLE IF NOT EXISTS `public_areas` (
2+
`id` INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
3+
`kind` enum('COUNTRY','REGION','DEPARTMENT','MUNICIPALITY') NOT NULL,
4+
`area` geometry NOT NULL SRID 4326,
5+
`properties` json NOT NULL,
6+
`title` varchar(100) NOT NULL
7+
);

0 commit comments

Comments
 (0)