-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add delete account API #127
Conversation
…ackendIntegration6
); | ||
--> statement-breakpoint | ||
CREATE TABLE IF NOT EXISTS "user" ( | ||
"id" uuid PRIMARY KEY NOT NULL, | ||
"organisation_id" integer, | ||
"configured_user_name" boolean DEFAULT false NOT NULL, | ||
"user_name" varchar(23) NOT NULL, | ||
"user_name" varchar(36) NOT NULL, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rename to username
"created_at" timestamp (0) DEFAULT now() NOT NULL, | ||
CONSTRAINT "user_unique_topic" UNIQUE("user_id","post_topic_options") | ||
CONSTRAINT "user_unique_topic" UNIQUE("user_id","post_tag_id") | ||
); | ||
--> statement-breakpoint | ||
CREATE TABLE IF NOT EXISTS "user" ( | ||
"id" uuid PRIMARY KEY NOT NULL, | ||
"organisation_id" integer, | ||
"configured_user_name" boolean DEFAULT false NOT NULL, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rename to configured_username
....etc
@@ -69,6 +69,300 @@ export const MIN_LENGTH_USERNAME = 3; | |||
|
|||
export const PEPPER_VERSION = 0; | |||
|
|||
export const POST_TAGS: Record<string, string> = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rename to TOPICS
Relates to #104 |
Changes:
isDeleted
in the database, and all of the posts and comments will be marked for deletion