Created
January 5, 2012 23:54
-
-
Save ayax79/1568058 to your computer and use it in GitHub Desktop.
This file contains 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
mysql> desc companies_users; | |
+--------------+--------------------------------------+------+-----+-------------------+-----------------------------+ | |
| Field | Type | Null | Key | Default | Extra | | |
+--------------+--------------------------------------+------+-----+-------------------+-----------------------------+ | |
| id | int(10) unsigned | NO | PRI | NULL | auto_increment | | |
| company_id | int(10) unsigned | NO | MUL | NULL | | | |
| user_id | int(10) unsigned | NO | | NULL | | | |
| access_level | enum('normal','admin','creator') | NO | MUL | normal | | | |
| status | enum('enabled','disabled','deleted') | NO | MUL | enabled | | | |
| created | datetime | NO | | NULL | | | |
| modified | timestamp | NO | | CURRENT_TIMESTAMP | on update CURRENT_TIMESTAMP | | |
+--------------+--------------------------------------+------+-----+-------------------+-----------------------------+ | |
7 rows in set (0.00 sec) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment