Cleaned and added some commend and continued the conv popover
This commit is contained in:
@@ -8,6 +8,13 @@ module default {
|
||||
))
|
||||
);
|
||||
|
||||
global currentConversation := (
|
||||
assert_single((
|
||||
select Conversation
|
||||
filter .name = 'Default' AND .user = global currentUser
|
||||
))
|
||||
);
|
||||
|
||||
type User {
|
||||
required setting: Setting;
|
||||
required stripe_id: str;
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
CREATE MIGRATION m1wantzc6ebph75s6s5oqd4yfcjul575mqmaas5g3ch77f3ojuwluq
|
||||
ONTO m1ospnjzsatmkntvczm5eu65omytyezeg3lanxeogtdqz2372t6cuq
|
||||
{
|
||||
CREATE GLOBAL default::currentConversation := (std::assert_single((SELECT
|
||||
default::User
|
||||
FILTER
|
||||
(.name = 'default')
|
||||
)));
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
CREATE MIGRATION m1xiilci36z6h4kris43l3gb6w63y7lbql3ismz7coxobr6r2yhz6a
|
||||
ONTO m1wantzc6ebph75s6s5oqd4yfcjul575mqmaas5g3ch77f3ojuwluq
|
||||
{
|
||||
ALTER GLOBAL default::currentConversation USING (std::assert_single((SELECT
|
||||
default::Conversation
|
||||
FILTER
|
||||
((.name = 'Default') AND (.user = GLOBAL default::currentUser))
|
||||
)));
|
||||
};
|
||||
Reference in New Issue
Block a user