From 78b8f627579a34891de75636726c67ebcf881e34 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Tue, 9 Sep 2014 16:54:25 -0400 Subject: - update naming convention link to point to official docs --- alembic/operations.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/alembic/operations.py b/alembic/operations.py index dfc177b..94cbc36 100644 --- a/alembic/operations.py +++ b/alembic/operations.py @@ -516,8 +516,7 @@ class Operations(object): :param name: Name of the primary key constraint. The name is necessary so that an ALTER statement can be emitted. For setups that use an automated naming scheme such as that described at - `NamingConventions `_, + :ref:`sqla:constraint_naming_conventions` ``name`` here can be ``None``, as the event listener will apply the name to the constraint object when it is associated with the table. @@ -559,8 +558,7 @@ class Operations(object): :param name: Name of the foreign key constraint. The name is necessary so that an ALTER statement can be emitted. For setups that use an automated naming scheme such as that described at - `NamingConventions `_, + :ref:`sqla:constraint_naming_conventions`, ``name`` here can be ``None``, as the event listener will apply the name to the constraint object when it is associated with the table. @@ -616,8 +614,7 @@ class Operations(object): :param name: Name of the unique constraint. The name is necessary so that an ALTER statement can be emitted. For setups that use an automated naming scheme such as that described at - `NamingConventions `_, + :ref:`sqla:constraint_naming_conventions`, ``name`` here can be ``None``, as the event listener will apply the name to the constraint object when it is associated with the table. @@ -664,8 +661,7 @@ class Operations(object): :param name: Name of the check constraint. The name is necessary so that an ALTER statement can be emitted. For setups that use an automated naming scheme such as that described at - `NamingConventions `_, + :ref:`sqla:constraint_naming_conventions`, ``name`` here can be ``None``, as the event listener will apply the name to the constraint object when it is associated with the table. -- cgit v1.2.1