최정민

Update README.md

Showing 1 changed file with 15 additions and 3 deletions
...@@ -6,11 +6,9 @@ ...@@ -6,11 +6,9 @@
6 > CREATE TABLE USER( 6 > CREATE TABLE USER(
7 > ID int(10) NOT NULL AUTO_INCREMENT PRIMARY KEY, 7 > ID int(10) NOT NULL AUTO_INCREMENT PRIMARY KEY,
8 > EMAIL varchar(64) NOT NULL UNIQUE, 8 > EMAIL varchar(64) NOT NULL UNIQUE,
9 -> NAME varchar(64) NOT NULL,
10 > NICKNAME varchar(32) UNIQUE, 9 > NICKNAME varchar(32) UNIQUE,
11 > AGE int(16), 10 > AGE int(16),
12 -> GENDER varchar(32), 11 +> GENDER varchar(32)
13 -> PICTURE varchar(128) NOT NULL
14 > ); 12 > );
15 > </code> 13 > </code>
16 14
...@@ -29,6 +27,20 @@ ...@@ -29,6 +27,20 @@
29 27
30 </pre> 28 </pre>
31 29
30 +> <pre><code>
31 +> CREATE TABLE PREFERENCE(
32 +> ID int(10) NOT NULL AUTO_INCREMENT PRIMARY KEY,
33 +> NICKNAME varchar(32) NOT NULL UNIQUE,
34 +> PRICE int(10) NOT NULL,
35 +> KINDNESS int(10) NOT NULL,
36 +> NOISE int(10) NOT NULL,
37 +> ACCESSIBILITY int(10) NOT NULL
38 +> FOREIGN KEY(NICKNAME) REFERENCES USER(NICKNAME) ON DELETE CASCADE
39 +> );
40 +> </code>
41 +
42 +</pre>
43 +
32 ###commit 형식 44 ###commit 형식
33 45
34 <pre><code> 46 <pre><code>
......