Working on conversion from MongoDB to Postgresql
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
CREATE TABLE IF NOT EXISTS cards(
|
||||
id SERIAL PRIMARY KEY,
|
||||
stroke_number INTEGER unique,
|
||||
s_p INTEGER ARRAY,
|
||||
s_l INTEGER ARRAY,
|
||||
d_p INTEGER ARRAY,
|
||||
d_l INTEGER ARRAY,
|
||||
surface_position INTEGER ARRAY,
|
||||
surface_load INTEGER ARRAY,
|
||||
downhole_position INTEGER ARRAY,
|
||||
downhole_load INTEGER ARRAY,
|
||||
ts_added TIMESTAMP DEFAULT NOW()
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user