| 1 | -- An organisation's storage policy (oxygenhub#96): whether every new |
| 2 | -- repository must live in a bucket, and the store URL prefixes allowed. |
| 3 | ( |
| 4 | org_id INTEGER PRIMARY KEY REFERENCES organisations(id) ON DELETE CASCADE, |
| 5 | require_bucket INTEGER NOT NULL DEFAULT 0, |
| 6 | -- One store URL prefix per line; empty allows any bucket. |
| 7 | allowed TEXT NOT NULL DEFAULT '' |
| 8 | ); |