File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,3 +21,6 @@ SINGLESTORE_PASS="notapass"
2121SINGLESTORE_HOST = testing.svc.singlestore.com
2222SINGLESTORE_PORT = 3333
2323SINGLESTORE_DB_NAME = DRIVE_V2_DB
24+
25+ NEXT_PUBLIC_POSTHOG_KEY = phc_oaijsdlkjqiowjelkdjfasdfjlaksdjf
26+ NEXT_PUBLIC_POSTHOG_HOST = https://us.i.posthog.com
Original file line number Diff line number Diff line change @@ -7,13 +7,13 @@ import { eq } from "drizzle-orm"
77export const QUERIES = {
88 getFiles : function ( folderId : number ) {
99
10- return db . select ( ) . from ( filesSchema ) . where ( eq ( filesSchema . parent , folderId ) )
10+ return db . select ( ) . from ( filesSchema ) . where ( eq ( filesSchema . parent , folderId ) ) . orderBy ( filesSchema . id )
1111
1212 } ,
1313
1414 getFolders : function ( folderId : number ) {
1515
16- return db . select ( ) . from ( foldersSchema ) . where ( eq ( foldersSchema . parent , folderId ) )
16+ return db . select ( ) . from ( foldersSchema ) . where ( eq ( foldersSchema . parent , folderId ) ) . orderBy ( foldersSchema . id )
1717
1818 } ,
1919
You can’t perform that action at this time.
0 commit comments