@@ -55,7 +55,9 @@ def __init__(
5555 is not specified.
5656 primary_key: Whether this column is part of the primary key of the schema.
5757 If `True`, `nullable` is automatically set to `False`.
58- unique: Whether this column must contain unique values.
58+ unique: Whether this column must contain unique values. Unlike `primary_key`,
59+ this checks uniqueness for this column independently. Multiple columns
60+ can each have `unique=True` without forming a composite constraint.
5961 min: The minimum date for dates in this column (inclusive).
6062 min_exclusive: Like `min` but exclusive. May not be specified if `min`
6163 is specified and vice versa.
@@ -191,7 +193,9 @@ def __init__(
191193 is not specified.
192194 primary_key: Whether this column is part of the primary key of the schema.
193195 If `True`, `nullable` is automatically set to `False`.
194- unique: Whether this column must contain unique values.
196+ unique: Whether this column must contain unique values. Unlike `primary_key`,
197+ this checks uniqueness for this column independently. Multiple columns
198+ can each have `unique=True` without forming a composite constraint.
195199 min: The minimum time for times in this column (inclusive).
196200 min_exclusive: Like `min` but exclusive. May not be specified if `min`
197201 is specified and vice versa.
@@ -335,7 +339,9 @@ def __init__(
335339 is not specified.
336340 primary_key: Whether this column is part of the primary key of the schema.
337341 If `True`, `nullable` is automatically set to `False`.
338- unique: Whether this column must contain unique values.
342+ unique: Whether this column must contain unique values. Unlike `primary_key`,
343+ this checks uniqueness for this column independently. Multiple columns
344+ can each have `unique=True` without forming a composite constraint.
339345 min: The minimum datetime for datetimes in this column (inclusive).
340346 min_exclusive: Like `min` but exclusive. May not be specified if `min`
341347 is specified and vice versa.
@@ -500,7 +506,9 @@ def __init__(
500506 is not specified.
501507 primary_key: Whether this column is part of the primary key of the schema.
502508 If `True`, `nullable` is automatically set to `False`.
503- unique: Whether this column must contain unique values.
509+ unique: Whether this column must contain unique values. Unlike `primary_key`,
510+ this checks uniqueness for this column independently. Multiple columns
511+ can each have `unique=True` without forming a composite constraint.
504512 min: The minimum duration for durations in this column (inclusive).
505513 min_exclusive: Like `min` but exclusive. May not be specified if `min`
506514 is specified and vice versa.
0 commit comments