Skip to content

Commit ab5da53

Browse files
calebbourglmcdonough
authored andcommitted
update dbml comments
1 parent 350b174 commit ab5da53

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/db/refactor_platform_rs.dbml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Table refactor_platform.organizations {
55
id uuid [primary key, unique, not null, default: `gen_random_uuid()`]
66
name varchar [not null, note: 'The name of the organization that the coach <--> coachee belong to']
77
logo varchar [note: 'A URI pointing to the organization\'s logo icon file']
8-
slug varchar [note: 'Canonical name for the record. Considered immutable by convention']
8+
slug varchar [note: 'A human-friendly canonical name for a record. Considered immutable by convention. Must be unique.']
99
created_at timestamptz [not null, default: `now()`]
1010
updated_at timestamptz [not null, default: `now()`, note: 'The last date and time fields were changed']
1111
}
@@ -17,7 +17,7 @@ Table refactor_platform.coaching_relationships {
1717
organization_id uuid [not null, note: 'The organization associated with this coaching relationship']
1818
coach_id uuid [not null, note: 'The coach associated with this coaching relationship']
1919
coachee_id uuid [not null, note: 'The coachee associated with this coaching relationship']
20-
slug varchar [note: 'Canonical name for the record. Considered immutable by convention']
20+
slug varchar [note: 'A human-friendly canonical name for a record. Considered immutable by convention. Must be unique.']
2121
created_at timestamptz [not null, default: `now()`]
2222
updated_at timestamptz [not null, default: `now()`, note: 'The last date and time fields were changed']
2323
}

migration/src/refactor_platform_rs.sql

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
-- SQL dump generated using DBML (dbml.dbdiagram.io)
22
-- Database: PostgreSQL
3-
-- Generated at: 2025-01-31T14:35:39.821Z
3+
-- Generated at: 2025-01-31T17:48:04.073Z
44

55

66
CREATE TYPE "refactor_platform"."status" AS ENUM (
@@ -99,7 +99,7 @@ COMMENT ON COLUMN "refactor_platform"."organizations"."name" IS 'The name of the
9999

100100
COMMENT ON COLUMN "refactor_platform"."organizations"."logo" IS 'A URI pointing to the organization''s logo icon file';
101101

102-
COMMENT ON COLUMN "refactor_platform"."organizations"."slug" IS 'Canonical name for the record. Considered immutable by convention';
102+
COMMENT ON COLUMN "refactor_platform"."organizations"."slug" IS 'A human-friendly canonical name for a record. Considered immutable by convention. Must be unique.';
103103

104104
COMMENT ON COLUMN "refactor_platform"."organizations"."updated_at" IS 'The last date and time fields were changed';
105105

@@ -109,7 +109,7 @@ COMMENT ON COLUMN "refactor_platform"."coaching_relationships"."coach_id" IS 'Th
109109

110110
COMMENT ON COLUMN "refactor_platform"."coaching_relationships"."coachee_id" IS 'The coachee associated with this coaching relationship';
111111

112-
COMMENT ON COLUMN "refactor_platform"."coaching_relationships"."slug" IS 'Canonical name for the record. Considered immutable by convention';
112+
COMMENT ON COLUMN "refactor_platform"."coaching_relationships"."slug" IS 'A human-friendly canonical name for a record. Considered immutable by convention. Must be unique.';
113113

114114
COMMENT ON COLUMN "refactor_platform"."coaching_relationships"."updated_at" IS 'The last date and time fields were changed';
115115

0 commit comments

Comments
 (0)