File: sandboxes.sql

package info (click to toggle)
goiardi 0.11.10-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,708 kB
  • sloc: sql: 4,994; makefile: 156; sh: 95; python: 30
file content (19 lines) | stat: -rw-r--r-- 401 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
-- Deploy sandboxes
-- requires: goiardi_schema

BEGIN;

CREATE TABLE goiardi.sandboxes (
	id bigserial,
	sbox_id varchar(32) not null,
	organization_id bigint not null default 1,
	creation_time timestamp with time zone not null,
	checksums bytea,
	completed boolean,
	primary key(id),
	unique(organization_id, sbox_id)
);

ALTER TABLE goiardi.sandboxes ALTER checksums SET STORAGE EXTERNAL;

COMMIT;