How are IDs being generated by prisma? I'm notici...
# orm-help
d
How are IDs being generated by prisma? I'm noticing the tables are not
AUTO_INCREMENT
Copy code
mysql> describe DataRow;
+------------+------------+------+-----+-------------------+-----------------------------+
| Field      | Type       | Null | Key | Default           | Extra                       |
+------------+------------+------+-----+-------------------+-----------------------------+
| id         | char(25)   | NO   | PRI | NULL              |                             |
| createdAt  | datetime   | NO   |     | CURRENT_TIMESTAMP |                             |
| updatedAt  | datetime   | NO   |     | CURRENT_TIMESTAMP | on update CURRENT_TIMESTAMP |
| externalId | mediumtext | YES  |     | NULL              |                             |
| rowData    | mediumtext | NO   |     | NULL              |                             |
+------------+------------+------+-----+-------------------+-----------------------------+
5 rows in set (0.00 sec)
The reason I ask is because I'm planning on running SQL against prismas database
k
Sunava! Was just about to answer this!
d
😄
👍 1