-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
74582ac
commit 65c08f5
Showing
2 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
27 changes: 26 additions & 1 deletion
27
backend/src/main/resources/dbchangelog/data/column_metadata.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,26 @@ | ||
id,column_name,column_description,column_primary_key,reference_table_name,reference_table_column,table_metadata_id | ||
id,column_name,column_description,column_primary_key,reference_table_name,reference_table_column,table_metadata_id | ||
1,artist_id,primary key of the table,true,,,1 | ||
2,full_name,full name of the artist,false,,,1 | ||
3,first_name,first name of the artist,false,,,1 | ||
4,middle_names,middle name of the artist,false,,,1 | ||
5,last_name,last name of the artist,false,,,1 | ||
6,nationality,nationality of the artist,false,,,1 | ||
7,style,style of work of the artist,false,,,1 | ||
8,birth,birth year of the artist,false,,,1 | ||
9,death,death year of the artist,false,,,1 | ||
10,id,primary key of the table,true,,,2 | ||
11,name,the museum name,false,,,2 | ||
12,address,the address of the museum,false,,,2 | ||
13,city,the city the museum is located in,false,,,2 | ||
14,state,the state the museum is located in,false,,,2 | ||
15,postal,the postal code of the museum,false,,,2 | ||
16,country,the country the museum is located in,false,,,2 | ||
17,phone,the phone number of the museum,false,,,2 | ||
18,url,the url of the homepage of the museum,false,,,2 | ||
19,id,primary key of the table,true,,,3 | ||
20,name,name of the art work,false,,,3 | ||
21,artist_id,id in the artist table,false,artist,id,3 | ||
22,style,style of the art work,false,,,3 | ||
23,museum_id,id of the museum in the museum table,false,museum,id,3 | ||
24,width,the width of the art work,false,,,3 | ||
25,height,the height of the art work,false,,,3 |
5 changes: 4 additions & 1 deletion
5
backend/src/main/resources/dbchangelog/data/table_metadata.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
id,table_name,table_description,table_ddl | ||
id,table_name,table_description,table_ddl | ||
1,artist,The table contains the information of the artists,"CREATE TABLE public.artist ( id int8 NOT NULL, full_name varchar(120) NULL, first_name varchar(50) NULL, middle_name varchar(50) NULL, last_name varchar(70) NULL, nationality varchar(40) NULL, "style" varchar(50) NULL, birth int4 NULL, death int4 NULL, CONSTRAINT artist_pkey PRIMARY KEY (id) )" | ||
2,museum,The table contains the information of the museums,"CREATE TABLE public.museum ( id int8 NOT NULL, "name" varchar(50) NULL, address varchar(70) NULL, city varchar(50) NULL, state varchar(50) NULL, postal varchar(10) NULL, country varchar(50) NULL, phone varchar(30) NULL, url varchar(256) NULL, CONSTRAINT museum_pkey PRIMARY KEY (id) )" | ||
3,work,The table contains the information of the art works,"CREATE TABLE public."work" (id int8 NOT NULL, "name" varchar(80) NULL, artist_id int8 NOT NULL, "style" varchar(40) NULL, museum_id int8 NOT NULL, width int4 NULL, height int4 NULL, CONSTRAINT work_pkey PRIMARY KEY (id) )" |