Working shops and owners create/get endpoints

This commit is contained in:
2020-07-16 00:42:04 -04:00
parent 25641ed8da
commit aebcaf7d21
4 changed files with 422 additions and 223 deletions

View File

@@ -7,7 +7,7 @@ pub fn migration() -> String {
t.add_column("id", types::primary().indexed(true));
t.add_column("name", types::varchar(255));
t.add_column("api_key", types::uuid());
t.add_column("ip_address", types::varchar(45));
t.add_column("ip_address", types::custom("inet").nullable(true));
t.add_column("mod_version", types::varchar(25));
t.add_column("created_at", types::custom("timestamp(3)"));
t.add_column("updated_at", types::custom("timestamp(3)"));