forked from wang-q/withncbi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.sql
64 lines (60 loc) · 1.71 KB
/
init.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# noinspection SqlNoDataSourceInspectionForFile
create table gr
(
taxonomy_id int,
organism_name char(255),
bioproject char(255),
`group` char(255),
subgroup char(255),
genome_size double,
gc_content double,
chr text,
wgs char(255),
scaffolds int,
released_date date,
asm_name char(255),
status char(255),
species char(255),
species_id int,
genus char(255),
genus_id int,
species_member int,
genus_species_member int,
genus_strain_member int,
primary key (taxonomy_id)
)
ENGINE = MyISAM;
create index gr_organism_name_K on gr
(
organism_name
);
create table ar
(
taxonomy_id int,
organism_name char(255),
bioproject char(255),
assembly_accession char(255),
wgs_master char(255),
refseq_category char(255),
assembly_level char(255),
genome_rep char(255),
released_date date,
asm_name char(255),
ftp_path char(255),
superkingdom char(255),
`group` char(255),
subgroup char(255),
species char(255),
species_id int,
genus char(255),
genus_id int,
species_member int,
genus_species_member int,
genus_strain_member int,
primary key (taxonomy_id)
)
ENGINE = MyISAM;
create index ar_organism_name_K on ar
(
organism_name
);