Closed kleneway closed 3 weeks ago
JACoB here...
You mentioned me on this issue and I am busy taking a look at it.
I'll continue to comment on this issue with status as I make progress.
Unfortunately, I ran into trouble working on this.
Here is some error information:
Command failed: __NEXT_TEST_MODE=1 SKIP_ENV_VALIDATION=1 npm run build --verbose && npx tsc --noEmit
npm verb cli /opt/render/project/nodes/node-20.11.0/bin/node /opt/render/project/nodes/node-20.11.0/bin/npm
npm info using npm@10.2.4
npm info using node@v20.11.0
npm verb title npm run build
npm verb argv "run" "build" "--loglevel" "verbose"
npm verb logfile logs-max:10 dir:/opt/render/.cache/_logs/2024-10-08T20_20_48_703Z-
npm verb logfile /opt/render/.cache/_logs/2024-10-08T20_20_48_703Z-debug-0.log
npm verb cli /opt/render/project/nodes/node-20.11.0/bin/node /opt/render/project/nodes/node-20.11.0/lib/node_modules/npm/bin/npm-cli.js
npm info using npm@10.2.4
npm info using node@v20.11.0
npm verb title npm run build:1-next
npm verb argv "run" "build:1-next"
npm verb logfile logs-max:10 dir:/opt/render/.cache/_logs/2024-10-08T20_20_49_121Z-
npm verb logfile /opt/render/.cache/_logs/2024-10-08T20_20_49_121Z-debug-0.log
Killed
npm verb exit 137
npm verb code 137
ERROR: "build:1-next" exited with 137.
npm verb exit 1
npm verb code 1
JACoB here...
You mentioned me on this issue and I am busy taking a look at it.
I'll continue to comment on this issue with status as I make progress.
I've completed my initial work on this issue and have created a pull request: JACoB PR for Issue Add PlanSteps
Table with Migration and TRPC Router Integration.
The changes currently result in an error, so I'll be making some additional changes before it is ready to merge.
I've updated this pull request: JACoB PR for Issue Add PlanSteps
Table with Migration and TRPC Router Integration.
The changes currently result in an error, so I'll be making some additional changes before it is ready to merge.
I've updated this pull request: JACoB PR for Issue Add PlanSteps
Table with Migration and TRPC Router Integration.
The changes currently result in an error, so I'll be making some additional changes before it is ready to merge.
I've updated this pull request: JACoB PR for Issue Add PlanSteps
Table with Migration and TRPC Router Integration.
The changes currently result in an error, so I'll be making some additional changes before it is ready to merge.
Description
Introduce a new
PlanSteps
table to manage and track the detailed steps associated with each project issue. Additionally, implement a corresponding TRPC router to facilitate CRUD operations on thePlanSteps
data.Table Schema
Create a
PlanSteps
table with the following columns:UUID
, Primary Key): A unique identifier for each plan step.UUID
, Foreign Key): References the associated project in theProjects
table.Integer
): The number of the issue this plan step is linked to.Integer
): The sequence number of the plan step within the issue.String
): Detailed description of the plan step.String
): Path to the file to be created or edited as part of the plan step.Boolean
): Indicates whether the plan step is currently active.Timestamp
): Timestamp of when the plan step was created. Use ...timestampsTimestamp
): Timestamp of the last update to the plan step. Use ..timestampsBe sure to research how other tables are created using this specific version of orchid ORM.
Migration
create_plan_steps_table
following the naming convention used in existing migrations. Be sure to research other migrations to understand exactly how to format this file. The name should be unique and ideally a timestamp from today (10/08/2024).PlanSteps
table in the migration.TRPC Router
planStepsRouter
.projectId
andissueNumber
.id
.projectId
andissueNumber
.isActive
tofalse
.PlanStep
IDs in the desired order and update thestepNumber
accordingly in the database.planStepsRouter
to the main TRPC router root (./routers/index.ts
).Validation and Constraints
UUIDs
and required fields.projectId
andissueNumber
fields during plan step modifications.Testing
References
create_tasks_table
migration for structure and implementation examples.Acceptance Criteria
PlanSteps
table is created with all specified columns and constraints.@jacob-ai-bot