Scai
Scai
Explore posts from servers
FFilament
Created by Scai on 9/18/2024 in #❓┊help
How to use external JS libs from node_modules into Filament?
We have a open-source project were we want to translate our entire UI to Filament. We need to import some libs from external dependencies on our pages from node_modules which aren't available through CDN's. We are using Vite in our setup.
2 replies
FFilament
Created by Scai on 4/13/2024 in #❓┊help
Table rendering in another resource tab
No description
1 replies
FFilament
Created by Scai on 4/12/2024 in #❓┊help
Enable registration on no users table
I want to enable register when there aren't users registered on the application, that would be it's the first admin, and after that to disable it.
8 replies
RRailway
Created by Scai on 2/17/2024 in #✋|help
NixPacks (Laravel) - Display by default laravel log files
I want to listen to storage/logs and log into the console.
39 replies
RRailway
Created by Scai on 2/2/2024 in #✋|help
Services per region
Is it possible to deploy to multiple regions, what regions are available right now? I have a project where I require to query some game servers and I would like to have one service per "region" and based on ip location of that game server to use the closest service to query it.
26 replies
RRailway
Created by Scai on 1/28/2024 in #✋|help
Railway Account Trial
I had Hobby plan activated before, but it reverts to Trial.
48 replies
DTDrizzle Team
Created by Scai on 10/28/2023 in #help
Query only one item from Many-To-Many
I would like only to take one stat not all the arrays. Is there a method to replace limit with something which returns only one item.
const res = await ctx.db.query.servers.findMany({
with: {
game: true,
stat: {
limit: 1,
orderBy: (table, { desc }) => [desc(table.statId)],
with: {
stat: true,
},
},
},
});
const res = await ctx.db.query.servers.findMany({
with: {
game: true,
stat: {
limit: 1,
orderBy: (table, { desc }) => [desc(table.statId)],
with: {
stat: true,
},
},
},
});
21 replies
DTDrizzle Team
Created by Scai on 10/28/2023 in #help
Error on db:push
Incorrect table definition; there can be only one auto column and it must be defined as a key
3 replies
RRailway
Created by Scai on 10/5/2023 in #✋|help
Hobby plan issues
Subscription already exist.
19 replies
RRailway
Created by Scai on 10/5/2023 in #✋|help
Subscription already exist
No description
4 replies