diff options
| author | Naz <ndpm13@ch-naseem.com> | 2025-09-02 10:12:27 +0100 |
|---|---|---|
| committer | Naz <ndpm13@ch-naseem.com> | 2025-09-02 10:12:27 +0100 |
| commit | eb1e6c6c345c4a588c28d2937949adc1b440133f (patch) | |
| tree | 62bade01156700bfcc7aabc0369f87819b07e8a5 /snippets/sql.json | |
| parent | 16ed97e8c41b93c6d8fda33529ccd334e224a99c (diff) | |
🦄org: now using an org document to configure nvim.
I know I messed up
Diffstat (limited to 'snippets/sql.json')
| -rw-r--r-- | snippets/sql.json | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/snippets/sql.json b/snippets/sql.json deleted file mode 100644 index d191703..0000000 --- a/snippets/sql.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "BaseAuditEntity fields": { - "prefix": "sqlbae", - "body": [ - "-- BaseAuditEntity fields", - "creator INT NOT NULL, -- FK to users.user_id", - "date_created TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,", - "changed_by INT DEFAULT NULL, -- FK to users.user_id", - "date_changed TIMESTAMP DEFAULT NULL,", - "voided BOOLEAN NOT NULL DEFAULT FALSE,", - "voided_by INT DEFAULT NULL, -- FK to users.user_id", - "date_voided TIMESTAMP DEFAULT NULL,", - "void_reason VARCHAR(256) DEFAULT NULL,", - "uuid UUID NOT NULL DEFAULT gen_random_uuid () UNIQUE,", - "CONSTRAINT fk_${0}_creator FOREIGN KEY (creator) REFERENCES users (user_id),", - "CONSTRAINT fk_${0}_changed_by FOREIGN KEY (changed_by) REFERENCES users (user_id),", - "CONSTRAINT fk_${0}_voided_by FOREIGN KEY (voided_by) REFERENCES users (user_id)" - ], - "description": "BaseAuditEntity fields" - } -} |
