@@ -406,16 +406,16 @@ several parameters that map to various column constraints and clauses.
406
406
// "id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
407
407
```
408
408
409
- > [! NOTE]
410
- > The `primaryKey` parameter cannot be used alongside
411
- > `references`. If you need to create a column that has a default value
412
- > and is also a primary and/ or foreign key, use the `primaryKey` and
413
- > `foreignKey` functions mentioned under
414
- > [Table Constraints](#table - constraints).
415
- >
416
- > Primary keys cannot be optional (_e.g ._ , `SQLExpression< Int64 ?> `).
417
- >
418
- > Only an `INTEGER PRIMARY KEY` can take `.autoincrement`.
409
+ > [! NOTE]
410
+ > The `primaryKey` parameter cannot be used alongside
411
+ > `references`. If you need to create a column that has a default value
412
+ > and is also a primary and/ or foreign key, use the `primaryKey` and
413
+ > `foreignKey` functions mentioned under
414
+ > [Table Constraints](#table - constraints).
415
+ >
416
+ > Primary keys cannot be optional (_e.g ._ , `SQLExpression< Int64 ?> `).
417
+ >
418
+ > Only an `INTEGER PRIMARY KEY` can take `.autoincrement`.
419
419
420
420
- `unique` adds a `UNIQUE` constraint to the column. (See the `unique`
421
421
function under [Table Constraints](#table - constraints) for uniqueness
@@ -448,12 +448,12 @@ several parameters that map to various column constraints and clauses.
448
448
// "name" TEXT DEFAULT 'Anonymous'
449
449
```
450
450
451
- > [! NOTE]
452
- > The `defaultValue` parameter cannot be used alongside
453
- > `primaryKey` and `references`. If you need to create a column that has
454
- > a default value and is also a primary and/ or foreign key, use the
455
- > `primaryKey` and `foreignKey` functions mentioned under
456
- > [Table Constraints](#table - constraints).
451
+ > [! NOTE]
452
+ > The `defaultValue` parameter cannot be used alongside
453
+ > `primaryKey` and `references`. If you need to create a column that has
454
+ > a default value and is also a primary and/ or foreign key, use the
455
+ > `primaryKey` and `foreignKey` functions mentioned under
456
+ > [Table Constraints](#table - constraints).
457
457
458
458
- `collate` adds a `COLLATE` clause to `SQLExpression< String > ` (and
459
459
`SQLExpression< String ?> `) column definitions with
@@ -479,12 +479,12 @@ several parameters that map to various column constraints and clauses.
479
479
// "user_id" INTEGER REFERENCES "users" ("id")
480
480
```
481
481
482
- > [! NOTE]
483
- > The `references` parameter cannot be used alongside
484
- > `primaryKey` and `defaultValue`. If you need to create a column that
485
- > has a default value and is also a primary and/ or foreign key, use the
486
- > `primaryKey` and `foreignKey` functions mentioned under
487
- > [Table Constraints](#table - constraints).
482
+ > [! NOTE]
483
+ > The `references` parameter cannot be used alongside
484
+ > `primaryKey` and `defaultValue`. If you need to create a column that
485
+ > has a default value and is also a primary and/ or foreign key, use the
486
+ > `primaryKey` and `foreignKey` functions mentioned under
487
+ > [Table Constraints](#table - constraints).
488
488
489
489
490
490
### Table Constraints
@@ -1366,10 +1366,10 @@ tables](#creating-a-table).
1366
1366
// ALTER TABLE "users" ADD COLUMN "suffix" TEXT DEFAULT 'SR'
1367
1367
```
1368
1368
1369
- > [! NOTE]
1370
- > Unlike the [`CREATE TABLE` constraint](#table - constraints),
1371
- > default values may not be expression structures (including
1372
- > `CURRENT_TIME`, `CURRENT_DATE`, or `CURRENT_TIMESTAMP`).
1369
+ > [! NOTE]
1370
+ > Unlike the [`CREATE TABLE` constraint](#table - constraints),
1371
+ > default values may not be expression structures (including
1372
+ > `CURRENT_TIME`, `CURRENT_DATE`, or `CURRENT_TIMESTAMP`).
1373
1373
1374
1374
- `collate` adds a `COLLATE` clause to `SQLExpression< String > ` (and
1375
1375
`SQLExpression< String ?> `) column definitions with [a collating
0 commit comments