Last active
March 4, 2016 08:47
-
-
Save dimd13/b9e8dfc9786dd34870e8 to your computer and use it in GitHub Desktop.
PostgesSQL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE DOMAIN phone_number_type AS VARCHAR(16) CHECK( VALUE ~ '^([\+])\d{11,15}$' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment