Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

gr-schema.sql 676 B

You have to be logged in to leave a comment. Sign In
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
  1. --- #dep common-schema
  2. DROP SCHEMA IF EXISTS gr CASCADE;
  3. CREATE SCHEMA gr;
  4. CREATE TABLE gr.raw_interaction (
  5. gr_interaction_rid SERIAL NOT NULL,
  6. gr_interaction_data JSONB NOT NULL
  7. );
  8. CREATE TABLE gr.raw_book (
  9. gr_book_rid SERIAL NOT NULL,
  10. gr_book_data JSONB NOT NULL
  11. );
  12. CREATE TABLE gr.raw_work (
  13. gr_work_rid SERIAL NOT NULL,
  14. gr_work_data JSONB NOT NULL
  15. );
  16. CREATE TABLE gr.raw_author (
  17. gr_author_rid SERIAL NOT NULL,
  18. gr_author_data JSONB NOT NULL
  19. );
  20. CREATE TABLE gr.raw_series (
  21. gr_series_rid SERIAL NOT NULL,
  22. gr_series_data JSONB NOT NULL
  23. );
  24. CREATE TABLE gr.raw_book_genres (
  25. gr_book_genres_rid SERIAL NOT NULL,
  26. gr_book_genres_data JSONB NOT NULL
  27. );
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...