Changeset 32745 for other-projects/the-macronizer/trunk/src/sql-scripts
- Timestamp:
- 2019-02-05T23:03:16+13:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/the-macronizer/trunk/src/sql-scripts/MySQL_Code.sql
r32742 r32745 6 6 7 7 8 /* 9 Unique constraint on marked_word field needs to be specified specially to deal with utf8 10 e.g. to distinguish between Äno and anÅ, rather than treating them both the same breaking uniqueness. 11 https://stackoverflow.com/questions/25318479/unique-constraint-violation-with-utf-8-values 12 */ 8 13 CREATE TABLE IF NOT EXISTS MarkedWords ( 9 14 word_id INT AUTO_INCREMENT, 10 marked_word varchar (255)UNIQUE,15 marked_word varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin UNIQUE, 11 16 PRIMARY KEY (word_id) 12 17 );
Note:
See TracChangeset
for help on using the changeset viewer.