add token schema and validation

This commit is contained in:
Oliver Gorwits
2018-10-21 17:31:52 +01:00
parent fb4e5c0793
commit f01bc6a695
8 changed files with 80 additions and 7 deletions

View File

@@ -14,6 +14,10 @@ __PACKAGE__->add_columns(
{ data_type => "varchar", is_nullable => 0, size => 50 },
"password",
{ data_type => "text", is_nullable => 1 },
"token",
{ data_type => "text", is_nullable => 1 },
"token_from",
{ data_type => "integer", is_nullable => 1 },
"creation",
{
data_type => "timestamp",