peer0.org1 -> localhost:7051
peer1.org1 -> localhost:8051
$winter = [ | |
new \DateTimeImmutable('2019-01-10 17:00'), | |
new \DateTimeImmutable('2019-01-10 18:00'), | |
new \DateTimeImmutable('2019-01-10 19:00'), | |
new \DateTimeImmutable('2019-01-10 20:00'), | |
]; | |
$summerIn = [ | |
new \DateTimeImmutable('2019-03-10 17:00'), | |
new \DateTimeImmutable('2019-03-10 18:00'), |
DROP TABLE IF EXISTS users; | |
DROP TABLE IF EXISTS pokemons; | |
DROP TABLE IF EXISTS pokesources; | |
DROP TABLE IF EXISTS types; | |
DROP TABLE IF EXISTS encounts; | |
DROP TABLE IF EXISTS pokemon_types; | |
DROP TABLE IF EXISTS pokemon_details; | |
DROP TABLE IF EXISTS appears; | |
CREATE TABLE users ( |
{ | |
"engineers": [ | |
{ "id": "a", "team": "pex" }, | |
{ "id": "b", "team": "pex" }, | |
{ "id": "c", "team": "pex" }, | |
{ "id": "d", "team": "fluct" }, | |
{ "id": "e", "team": "fluct" }, | |
{ "id": "f", "team": "fluct" }, | |
{ "id": "g", "team": "fintech" }, | |
{ "id": "h", "team": "fintech" }, |