CheckConstraint.php 458 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * @link http://www.yiiframework.com/
  4. * @copyright Copyright (c) 2008 Yii Software LLC
  5. * @license http://www.yiiframework.com/license/
  6. */
  7. namespace yii\db;
  8. /**
  9. * CheckConstraint represents the metadata of a table `CHECK` constraint.
  10. *
  11. * @author Sergey Makinen <sergey@makinen.ru>
  12. * @since 2.0.13
  13. */
  14. class CheckConstraint extends Constraint
  15. {
  16. /**
  17. * @var string the SQL of the `CHECK` constraint.
  18. */
  19. public $expression;
  20. }