MajorAmari
MajorAmari
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by MajorAmari on 11/11/2023 in #djs-questions
Fetch data from the "new" members menu
No description
4 replies
DTDrizzle Team
Created by MajorAmari on 9/19/2023 in #help
Unexpected identifier 'TABLE'
I used drizzle-kit generate:pg to generate this schema
CREATE TABLE IF NOT EXISTS users (
user_id INT PRIMARY KEY,
username VARCHAR(255),
email VARCHAR(255)
);
CREATE TABLE IF NOT EXISTS users (
user_id INT PRIMARY KEY,
username VARCHAR(255),
email VARCHAR(255)
);
I tried to use drizzle-kit push:pg but I get this error
CREATE TABLE IF NOT EXISTS "users" (
^^^^^

SyntaxError: Unexpected identifier 'TABLE'
CREATE TABLE IF NOT EXISTS "users" (
^^^^^

SyntaxError: Unexpected identifier 'TABLE'
8 replies
DIAdiscord.js - Imagine an app
Created by MajorAmari on 9/13/2023 in #djs-questions
Slash command and message command handler complained
Hello, My brain is empty and I want to make a Slash command along with normal message handler with the point of the handler is to make it easier to add more commands and I want the argus to be type safe because I'm using typescript, if you have any suggestion for good code structure I'm willing to hear :)
9 replies