Created
August 12, 2021 12:15
-
-
Save pcnoic/1db02da87b2a61ea6e3c4201bc245c52 to your computer and use it in GitHub Desktop.
create table for pois
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE points_of_interest( | |
id BIGINT(20) UNSIGNED NOT NULL PRIMARY KEY | |
,type_id BIGINT(20) UNSIGNED NOT NULL | |
,name VARCHAR(77) NOT NULL | |
,latitude FLOAT NOT NULL | |
,longitude FLOAT NOT NULL | |
,active BIT NOT NULL | |
,created_at DATETIME NOT NULL | |
,updated_at DATETIME NOT NULL | |
,description VARCHAR(85) NOT NULL | |
,tel VARCHAR(50) | |
,fax VARCHAR(38) | |
,mail VARCHAR(81) | |
,website VARCHAR(50) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment