Skip to content
Snippets Groups Projects
Unverified Commit 330028e5 authored by Xavier Robin's avatar Xavier Robin
Browse files

cleanup: remove unused stereo_conf from schema

parent b0bcf7d3
No related branches found
No related tags found
No related merge requests found
...@@ -74,7 +74,6 @@ const char* CREATE_CMD[]={ ...@@ -74,7 +74,6 @@ const char* CREATE_CMD[]={
" alt_name VARCHAR(4) NOT NULL, " " alt_name VARCHAR(4) NOT NULL, "
" element VARCHAR(2) NOT NULL, " " element VARCHAR(2) NOT NULL, "
" is_aromatic VARCHAR(1) NOT NULL, " " is_aromatic VARCHAR(1) NOT NULL, "
" stereo_conf VARCHAR(1), "
" is_leaving VARCHAR(1) NOT NULL, " " is_leaving VARCHAR(1) NOT NULL, "
" ordinal INT, " " ordinal INT, "
" charge INT " " charge INT "
...@@ -86,8 +85,7 @@ const char* CREATE_CMD[]={ ...@@ -86,8 +85,7 @@ const char* CREATE_CMD[]={
" compound_id INTEGER REFERENCES chem_compounds (id) ON DELETE CASCADE, " " compound_id INTEGER REFERENCES chem_compounds (id) ON DELETE CASCADE, "
" atom_one INTEGER REFERENCES atoms (id) ON DELETE CASCADE, " " atom_one INTEGER REFERENCES atoms (id) ON DELETE CASCADE, "
" atom_two INTEGER REFERENCES atoms (id) ON DELETE CASCADE, " " atom_two INTEGER REFERENCES atoms (id) ON DELETE CASCADE, "
" bond_order INT, " " bond_order INT "
" stereo_conf VARCHAR(1) "
" );", " );",
" CREATE INDEX IF NOT EXISTS bond_index ON bonds (compound_id)", " CREATE INDEX IF NOT EXISTS bond_index ON bonds (compound_id)",
" CREATE TRIGGER delete_related_objects " " CREATE TRIGGER delete_related_objects "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment