quick record of one-off DB fixes needed to reset table names, column names, etc. to be more consistent & 3NF
This commit is contained in:
10
fixes.sql
Normal file
10
fixes.sql
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
CREATE TABLE condition (
|
||||||
|
id INTEGER,
|
||||||
|
name VARCHAR(20) not null,
|
||||||
|
constraint pk_condition primary key(id)
|
||||||
|
);
|
||||||
|
INSERT INTO condition VALUES ( 1, 'Good' );
|
||||||
|
INSERT INTO condition VALUES ( 2, 'Average' );
|
||||||
|
INSERT INTO condition VALUES ( 3, 'Needs Replacing' );
|
||||||
|
INSERT INTO condition VALUES ( 4, 'N/A' );
|
||||||
|
|
||||||
Reference in New Issue
Block a user