Running Copilot #28
Annotations
2 errors
|
tests/diagrams-export.test.ts > Diagram Export/Import > DBML Export/Import > should export to DBML format:
tests/diagrams-export.test.ts#L98
AssertionError: expected '// Generated with Erdus (https://gith…' to contain 'email VARCHAR(255) [unique, not null]'
- Expected
+ Received
- email VARCHAR(255) [unique, not null]
+ // Generated with Erdus (https://github.com/tobiager/Erdus) — Deploy: https://erdus.app
+ // Project: Test Project | Exported: 2025-09-27T19:09:32.291Z
+
+ Table users {
+ id INTEGER [pk, not null]
+ email VARCHAR(255) [not null, unique]
+ name VARCHAR(100)
+ }
+
+ Table posts {
+ id INTEGER [pk, not null]
+ title VARCHAR(200) [not null]
+ user_id INTEGER [not null]
+ }
+
+ // Relationships
+ Ref: posts.user_id > users.id
❯ tests/diagrams-export.test.ts:98:20
|
|
tests/diagrams-export.test.ts > Diagram Export/Import > SQL Export > should export to SQLite DDL:
tests/diagrams-export.test.ts#L86
AssertionError: expected '-- Generated with Erdus (https://gith…' to contain '"email" TEXT NOT NULL UNIQUE'
- Expected
+ Received
- "email" TEXT NOT NULL UNIQUE
+ -- Generated with Erdus (https://github.com/tobiager/Erdus) — Deploy: https://erdus.app
+ -- Engine: sqlite | Exported: 2025-09-27T19:09:32.285Z
+
+ CREATE TABLE "users" (
+ "id" INTEGER NOT NULL PRIMARY KEY,
+ "email" TEXT(255) NOT NULL UNIQUE,
+ "name" TEXT(100)
+ );
+
+ CREATE TABLE "posts" (
+ "id" INTEGER NOT NULL PRIMARY KEY,
+ "title" TEXT(200) NOT NULL,
+ "user_id" INTEGER NOT NULL
+ );
+
+ -- Foreign Key Constraints
+ ALTER TABLE "posts" ADD CONSTRAINT fk_posts_user_id FOREIGN KEY ("user_id") REFERENCES "users" ("id") ON DELETE CASCADE;
❯ tests/diagrams-export.test.ts:86:19
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
results
Expired
|
298 Bytes |
sha256:9bb498d680a34e83029eea9a78246db8132581c73c9ead30b97a9dffd4354bbf
|
|