iKingNinja
iKingNinja
Explore posts from servers
PPrisma
Created by iKingNinja on 6/10/2024 in #help-and-questions
Update column type without losing data
I have a column of type int and I need to migrate that to bigint. If i change the column type in the prisma schema and run npx prisma migrate dev --name change-type it wants to reset the public schema. I don't want to lose all the data so what's the proper way of doing this?
1 replies
RRailway
Created by iKingNinja on 5/25/2024 in #✋|help
Download data from out of credit database
I have run out of credits on my account and I have a database which contains some data. Is there a way to download the data since I can't connect to it?
8 replies
RRailway
Created by iKingNinja on 11/27/2023 in #✋|help
How would you enable free trial code deployment?
No description
10 replies
RRailway
Created by iKingNinja on 5/29/2023 in #✋|help
Does Railway support multiple redis databases
Basically Redis supports splitting 1 instance in 16 databases. Does Railway support this feature too?
11 replies
RRailway
Created by iKingNinja on 5/14/2023 in #✋|help
Free usage plan resources exceeded but I didn't
15 replies
RRailway
Created by iKingNinja on 4/22/2023 in #✋|help
C# StackExchange.Redis client failing to connect
I have deployed a Redis instance and I'm trying to connect to it using StackExchange.Redis but i get the error "It was not possible to connect to the redis server(s)".
using StackExchange.Redis;

namespace Redis
{
public class Client
{
public static readonly ConnectionMultiplexer redis = ConnectionMultiplexer.Connect(
new ConfigurationOptions()
{
EndPoints = { "redis://default:[email protected]:5494" }
}
);

public static double Ping()
{
var db = redis.GetDatabase();
var ping = db.Ping();

return ping.TotalMicroseconds;
}
}
}
using StackExchange.Redis;

namespace Redis
{
public class Client
{
public static readonly ConnectionMultiplexer redis = ConnectionMultiplexer.Connect(
new ConfigurationOptions()
{
EndPoints = { "redis://default:[email protected]:5494" }
}
);

public static double Ping()
{
var db = redis.GetDatabase();
var ping = db.Ping();

return ping.TotalMicroseconds;
}
}
}
but if I connect using the cli it works
14 replies
RRailway
Created by iKingNinja on 2/25/2023 in #✋|help
Infinite project deployment if GitHub app is suspended
So I haven't used railway in quite long time and GitHub suspended the railway app I installed on my profile, after I went to dev.nee and deployed a template to test it out after it got to the deployment part it got stuck on an infinite loading. Un suspending the app on GitHub solved the issue but it would be nice if it tells you that railway can't create the repo on your profile because it doesn't have permission.
3 replies
RRailway
Created by iKingNinja on 9/27/2022 in #✋|help
Changing server timezone
Is there a way to change the server's timezone on railway?
5 replies