oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

1CREATE TABLE person_devices (
2 id text PRIMARY KEY,
3 request_hash text,
4 input_hash text,
5 public_key text,
6 label text,
7 secret_hash text,
8 code_hash text,
9 challenge text,
10 instance_id text,
11 person text,
12 session_epoch integer,
13 revision integer,
14 created_at datetime,
15 expires_at datetime,
16 approved_at datetime,
17 exchanged_at datetime,
18 revoked_at datetime,
19 last_poll datetime,
20 token_hash text,
21 token_expires_at datetime,
22 nonce_hash text,
23 begin_cipher text,
24 result_cipher text,
25 result_expires_at datetime
26);
27CREATE UNIQUE INDEX person_device_request ON person_devices(request_hash);
28CREATE INDEX person_device_token ON person_devices(token_hash);
29CREATE TABLE person_device_rates (key text PRIMARY KEY, started_at datetime, count integer);
30ALTER TABLE connections ADD COLUMN label text;
31ALTER TABLE connections ADD COLUMN revoked_at datetime;
32
33CREATE TABLE project_rules (project_id integer PRIMARY KEY, text text, revision integer);
34