Skip to content

Commit

Permalink
replace address with address lines 1 & 2 (#2863)
Browse files Browse the repository at this point in the history
* replace address with address lines 1 & 2

* upgrade to vitest 3
  • Loading branch information
xoldd authored Jan 17, 2025
1 parent 23a2533 commit b308fb4
Show file tree
Hide file tree
Showing 34 changed files with 782 additions and 533 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,8 @@ CREATE TABLE "organization_memberships" (
);
--> statement-breakpoint
CREATE TABLE "organizations" (
"address" text,
"address_line_1" text,
"address_line_2" text,
"avatar_mime_type" text,
"avatar_name" text,
"city" text,
Expand Down Expand Up @@ -314,7 +315,8 @@ CREATE TABLE "tags" (
);
--> statement-breakpoint
CREATE TABLE "users" (
"address" text,
"address_line_1" text,
"address_line_2" text,
"avatar_mime_type" text,
"avatar_name" text,
"birth_date" date,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "2bd701f6-2186-44c7-93b4-56dc4ce1e21a",
"id": "8b540cae-733e-4236-8c28-4e714421d86c",
"prevId": "00000000-0000-0000-0000-000000000000",
"version": "7",
"dialect": "postgresql",
Expand Down Expand Up @@ -3773,8 +3773,14 @@
"name": "organizations",
"schema": "",
"columns": {
"address": {
"name": "address",
"address_line_1": {
"name": "address_line_1",
"type": "text",
"primaryKey": false,
"notNull": false
},
"address_line_2": {
"name": "address_line_2",
"type": "text",
"primaryKey": false,
"notNull": false
Expand Down Expand Up @@ -4940,8 +4946,14 @@
"name": "users",
"schema": "",
"columns": {
"address": {
"name": "address",
"address_line_1": {
"name": "address_line_1",
"type": "text",
"primaryKey": false,
"notNull": false
},
"address_line_2": {
"name": "address_line_2",
"type": "text",
"primaryKey": false,
"notNull": false
Expand Down
4 changes: 2 additions & 2 deletions drizzle_migrations/meta/_journal.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
{
"idx": 0,
"version": "7",
"when": 1735839408264,
"tag": "20250102173648_nostalgic_vermin",
"when": 1737118442781,
"tag": "20250117125402_luxuriant_starjammers",
"breakpoints": true
}
]
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"@node-rs/argon2": "^2.0.2",
"@pothos/core": "^4.3.0",
"@pothos/plugin-relay": "^4.3.0",
"@sinclair/typebox": "^0.34.13",
"@sinclair/typebox": "^0.34.14",
"ajv-formats": "^3.0.1",
"close-with-grace": "^2.2.0",
"drizzle-orm": "^0.38.3",
"drizzle-orm": "^0.38.4",
"drizzle-zod": "0.6.1",
"env-schema": "^6.0.1",
"fastify": "^5.2.1",
Expand All @@ -34,21 +34,21 @@
"description": "talawa-api is a backend repository written using Node.js and graphql for generating APIs for the talawa flutter app.",
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@faker-js/faker": "^9.3.0",
"@faker-js/faker": "^9.4.0",
"@swc/cli": "0.6.0",
"@swc/core": "^1.10.7",
"@types/node": "^22.10.6",
"@vitest/coverage-v8": "^2.1.8",
"drizzle-kit": "^0.30.1",
"@types/node": "^22.10.7",
"@vitest/coverage-v8": "^3.0.1",
"drizzle-kit": "^0.30.2",
"drizzle-seed": "^0.3.0",
"gql.tada": "^1.8.10",
"lefthook": "^1.10.4",
"lefthook": "^1.10.8",
"mercurius-integration-testing": "^9.0.1",
"pino-pretty": "^13.0.0",
"tsx": "^4.19.2",
"typescript": "^5.7.3",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^2.1.8"
"vitest": "^3.0.1"
},
"engines": {
"node": "22.13.0"
Expand Down
Loading

0 comments on commit b308fb4

Please sign in to comment.