create-protobase 0.85.1 → 0.86.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,20 @@
1
+ -- The auth schema changes this version of Protobase needs, written by `protobase auth migration`.
2
+ -- Applied with the project's other migrations; edit or remove statements the project handles differently.
3
+
4
+ -- 9 mail_senders: The From addresses people send mail from through the mailbox they linked.
5
+ create table "auth"."mail_sender" (
6
+ id text primary key,
7
+ user_id text not null references "auth"."user" (id) on delete cascade,
8
+ address text not null,
9
+ shared boolean not null,
10
+ signature text,
11
+ is_default boolean not null,
12
+ created_at timestamptz not null,
13
+ unique (user_id, address)
14
+ );
15
+
16
+ create unique index mail_sender_default_idx on "auth"."mail_sender" (user_id) where is_default;
17
+
18
+ create index mail_sender_shared_idx on "auth"."mail_sender" (address) where shared;
19
+
20
+ insert into "auth"."auth_migrations" (version, name) values (9, 'mail_senders');
@@ -27,12 +27,12 @@
27
27
  "zod": "^4.6.5"
28
28
  },
29
29
  "devDependencies": {
30
- "@protobase/cli": "^0.85.1",
31
- "@protobase/config": "^0.85.1",
32
- "@protobase/layout": "^0.85.1",
33
- "@protobase/schema": "^0.85.1",
34
- "@protobase/server": "^0.85.1",
35
- "@protobase/ui": "^0.85.1",
30
+ "@protobase/cli": "^0.86.0",
31
+ "@protobase/config": "^0.86.0",
32
+ "@protobase/layout": "^0.86.0",
33
+ "@protobase/schema": "^0.86.0",
34
+ "@protobase/server": "^0.86.0",
35
+ "@protobase/ui": "^0.86.0",
36
36
  "@types/node": "^22.20.5",
37
37
  "@types/pg": "^8.23.1",
38
38
  "@types/react": "^19.3.0",
@@ -0,0 +1,20 @@
1
+ -- The auth schema changes this version of Protobase needs, written by `protobase auth migration`.
2
+ -- Applied with the project's other migrations; edit or remove statements the project handles differently.
3
+
4
+ -- 9 mail_senders: The From addresses people send mail from through the mailbox they linked.
5
+ create table "auth"."mail_sender" (
6
+ id text primary key,
7
+ user_id text not null references "auth"."user" (id) on delete cascade,
8
+ address text not null,
9
+ shared boolean not null,
10
+ signature text,
11
+ is_default boolean not null,
12
+ created_at timestamptz not null,
13
+ unique (user_id, address)
14
+ );
15
+
16
+ create unique index mail_sender_default_idx on "auth"."mail_sender" (user_id) where is_default;
17
+
18
+ create index mail_sender_shared_idx on "auth"."mail_sender" (address) where shared;
19
+
20
+ insert into "auth"."auth_migrations" (version, name) values (9, 'mail_senders');
@@ -27,12 +27,12 @@
27
27
  "zod": "^4.6.5"
28
28
  },
29
29
  "devDependencies": {
30
- "@protobase/cli": "^0.85.1",
31
- "@protobase/config": "^0.85.1",
32
- "@protobase/layout": "^0.85.1",
33
- "@protobase/schema": "^0.85.1",
34
- "@protobase/server": "^0.85.1",
35
- "@protobase/ui": "^0.85.1",
30
+ "@protobase/cli": "^0.86.0",
31
+ "@protobase/config": "^0.86.0",
32
+ "@protobase/layout": "^0.86.0",
33
+ "@protobase/schema": "^0.86.0",
34
+ "@protobase/server": "^0.86.0",
35
+ "@protobase/ui": "^0.86.0",
36
36
  "@types/node": "^22.20.5",
37
37
  "@types/pg": "^8.23.1",
38
38
  "@types/react": "^19.3.0",
@@ -0,0 +1,20 @@
1
+ -- The auth schema changes this version of Protobase needs, written by `protobase auth migration`.
2
+ -- Applied with the project's other migrations; edit or remove statements the project handles differently.
3
+
4
+ -- 9 mail_senders: The From addresses people send mail from through the mailbox they linked.
5
+ create table "auth"."mail_sender" (
6
+ id text primary key,
7
+ user_id text not null references "auth"."user" (id) on delete cascade,
8
+ address text not null,
9
+ shared boolean not null,
10
+ signature text,
11
+ is_default boolean not null,
12
+ created_at timestamptz not null,
13
+ unique (user_id, address)
14
+ );
15
+
16
+ create unique index mail_sender_default_idx on "auth"."mail_sender" (user_id) where is_default;
17
+
18
+ create index mail_sender_shared_idx on "auth"."mail_sender" (address) where shared;
19
+
20
+ insert into "auth"."auth_migrations" (version, name) values (9, 'mail_senders');
@@ -27,12 +27,12 @@
27
27
  "zod": "^4.6.5"
28
28
  },
29
29
  "devDependencies": {
30
- "@protobase/cli": "^0.85.1",
31
- "@protobase/config": "^0.85.1",
32
- "@protobase/layout": "^0.85.1",
33
- "@protobase/schema": "^0.85.1",
34
- "@protobase/server": "^0.85.1",
35
- "@protobase/ui": "^0.85.1",
30
+ "@protobase/cli": "^0.86.0",
31
+ "@protobase/config": "^0.86.0",
32
+ "@protobase/layout": "^0.86.0",
33
+ "@protobase/schema": "^0.86.0",
34
+ "@protobase/server": "^0.86.0",
35
+ "@protobase/ui": "^0.86.0",
36
36
  "@types/node": "^22.20.5",
37
37
  "@types/pg": "^8.23.1",
38
38
  "@types/react": "^19.3.0",
@@ -0,0 +1,20 @@
1
+ -- The auth schema changes this version of Protobase needs, written by `protobase auth migration`.
2
+ -- Applied with the project's other migrations; edit or remove statements the project handles differently.
3
+
4
+ -- 9 mail_senders: The From addresses people send mail from through the mailbox they linked.
5
+ create table "auth"."mail_sender" (
6
+ id text primary key,
7
+ user_id text not null references "auth"."user" (id) on delete cascade,
8
+ address text not null,
9
+ shared boolean not null,
10
+ signature text,
11
+ is_default boolean not null,
12
+ created_at timestamptz not null,
13
+ unique (user_id, address)
14
+ );
15
+
16
+ create unique index mail_sender_default_idx on "auth"."mail_sender" (user_id) where is_default;
17
+
18
+ create index mail_sender_shared_idx on "auth"."mail_sender" (address) where shared;
19
+
20
+ insert into "auth"."auth_migrations" (version, name) values (9, 'mail_senders');
@@ -24,12 +24,12 @@
24
24
  "zod": "^4.6.5"
25
25
  },
26
26
  "devDependencies": {
27
- "@protobase/cli": "^0.85.1",
28
- "@protobase/config": "^0.85.1",
29
- "@protobase/layout": "^0.85.1",
30
- "@protobase/schema": "^0.85.1",
31
- "@protobase/server": "^0.85.1",
32
- "@protobase/ui": "^0.85.1",
27
+ "@protobase/cli": "^0.86.0",
28
+ "@protobase/config": "^0.86.0",
29
+ "@protobase/layout": "^0.86.0",
30
+ "@protobase/schema": "^0.86.0",
31
+ "@protobase/server": "^0.86.0",
32
+ "@protobase/ui": "^0.86.0",
33
33
  "@types/node": "^22.20.5",
34
34
  "@types/pg": "^8.23.1",
35
35
  "@types/react": "^19.3.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-protobase",
3
- "version": "0.85.1",
3
+ "version": "0.86.0",
4
4
  "description": "npm create protobase: starts a new Protobase project from one of its presets, or on an existing Postgres database.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -28,7 +28,7 @@
28
28
  "postgres": "^3.4.9"
29
29
  },
30
30
  "devDependencies": {
31
- "@protobase/cli": "0.85.1"
31
+ "@protobase/cli": "0.86.0"
32
32
  },
33
33
  "publishConfig": {
34
34
  "access": "public"