Commit e9c5c0d
committed
postgres: create a database with an owner already set
In the current setup databases are owned by the admin role `postgres`,
and we separately grant users the permission to create their own tables
in the schema `public`. I believe our intention was to make users
owners of the corresponding databases, effectively granting them all
permissions w/o any extra steps.
This will make the tests and new databases consistent with our
production instance where the database is owned by role `xsnippet-api`.1 parent a8b2356 commit e9c5c0d
1 file changed
+4
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | 45 | | |
53 | 46 | | |
54 | | - | |
55 | 47 | | |
56 | 48 | | |
57 | 49 | | |
58 | 50 | | |
59 | 51 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
67 | 56 | | |
68 | 57 | | |
69 | 58 | | |
| |||
0 commit comments