Skip to content
Snippets Groups Projects
Commit fae128e7 authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

add type column

parent dfe0266b
Branches
Tags
No related merge requests found
...@@ -13,6 +13,7 @@ CREATE TABLE tokens ( ...@@ -13,6 +13,7 @@ CREATE TABLE tokens (
CREATE TABLE entities ( CREATE TABLE entities (
id bigint(20) NOT NULL AUTO_INCREMENT, id bigint(20) NOT NULL AUTO_INCREMENT,
type varchar(3) NOT NULL,
entityid varchar(200) NOT NULL, entityid varchar(200) NOT NULL,
information_url varchar(200) DEFAULT NULL, information_url varchar(200) DEFAULT NULL,
organization_url varchar(200) DEFAULT NULL, organization_url varchar(200) DEFAULT NULL,
......
...@@ -14,6 +14,7 @@ __PACKAGE__->meta->setup( ...@@ -14,6 +14,7 @@ __PACKAGE__->meta->setup(
columns => [ columns => [
id => { type => 'bigserial', not_null => 1 }, id => { type => 'bigserial', not_null => 1 },
entityid => { type => 'varchar', length => 200, not_null => 1 }, entityid => { type => 'varchar', length => 200, not_null => 1 },
type => { type => 'varchar', length => 3 },
displayname => { type => 'varchar', length => 500 }, displayname => { type => 'varchar', length => 500 },
information_url => { type => 'varchar', length => 200 }, information_url => { type => 'varchar', length => 200 },
organization_url => { type => 'varchar', length => 200 }, organization_url => { type => 'varchar', length => 200 },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment