Minor stylistic changes to schema
This commit is contained in:
parent
8efb71dce8
commit
6d2ca54590
|
@ -129,7 +129,7 @@ CREATE TABLE `measurements` (
|
||||||
|
|
||||||
CREATE TABLE `urls` (
|
CREATE TABLE `urls` (
|
||||||
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||||
`input` VARCHAR(255) NOT NULL,
|
`url` VARCHAR(255) NOT NULL, -- XXX is this long enough?
|
||||||
`category_code` VARCHAR(5) NOT NULL, -- The citizenlab category code for the
|
`category_code` VARCHAR(5) NOT NULL, -- The citizenlab category code for the
|
||||||
-- site. We use the string NONE to denote
|
-- site. We use the string NONE to denote
|
||||||
-- no known category code.
|
-- no known category code.
|
||||||
|
@ -161,7 +161,7 @@ CREATE TABLE `networks` (
|
||||||
-- 0000:0000:0000:0000:0000:0000:0000:0000,
|
-- 0000:0000:0000:0000:0000:0000:0000:0000,
|
||||||
-- which is 39 chars.
|
-- which is 39 chars.
|
||||||
`asn` INT(4) NOT NULL,
|
`asn` INT(4) NOT NULL,
|
||||||
`country` VARCHAR(2) NOT NULL, -- The two letter country code
|
`country_code` VARCHAR(2) NOT NULL, -- The two letter country code
|
||||||
);
|
);
|
||||||
|
|
||||||
-- +migrate StatementEnd
|
-- +migrate StatementEnd
|
||||||
|
|
Loading…
Reference in New Issue
Block a user