[DiscordArchive] In the case of the `RealmID` what do we do?
[DiscordArchive] In the case of the `RealmID` what do we do?
Archived author: stevej • Posted: 2021-01-10T19:54:30.546000+00:00
Original source
In the case of the `RealmID` what do we do?
Archived author: stevej • Posted: 2021-01-10T19:54:47.602000+00:00
Original source
It is supposed, that it cannot be null, but it has a default value.
Archived author: Kitzunu • Posted: 2021-01-10T19:55:38.757000+00:00
Original source
the default value is -1
Archived author: Kitzunu • Posted: 2021-01-10T19:55:42.807000+00:00
Original source
not NULL
Archived author: Kitzunu • Posted: 2021-01-10T19:57:46.802000+00:00
Original source
`NOT NULL` just means it will never allow the value to be NULL
Archived author: stevej • Posted: 2021-01-10T19:58:23.067000+00:00
Original source
Could you put it that way?
Archived author: Kitzunu • Posted: 2021-01-10T19:58:40.263000+00:00
Original source
whatcha mean?
Archived author: stevej • Posted: 2021-01-10T19:58:42.115000+00:00
Original source
```
| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
|--------------|--------------|------------|-----|------|---------|-------|---------|
| [id][1] | int(10) | unsigned | PRI | NO | 0 | | |
| [gmlevel][2] | tinyint(3) | unsigned | | NO | 0 | | |
| [RealmID][3] | int(11) | | PRI | NO | -1 | | |
| [comment][4] | varchar(255) | | | YES | | | |
```
Archived author: stevej • Posted: 2021-01-10T19:58:45.019000+00:00
Original source
Or
Archived author: stevej • Posted: 2021-01-10T19:58:59.412000+00:00
Original source
```
| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
|--------------|--------------|------------|-----|------|---------|-------|---------|
| [id][1] | int(10) | unsigned | PRI | NO | | | |
| [gmlevel][2] | tinyint(3) | unsigned | | NO | | | |
| [RealmID][3] | int(11) | | PRI | NO | -1 | | |
| [comment][4] | varchar(255) | | | YES | | | |
```