Using local Postgres database instead of remote (#6241)
* Using local Postgres database instead of remote * Added createdb and usedb at the top
This commit is contained in:
parent
1c70a104a6
commit
a665b943c0
|
|
@ -5,11 +5,11 @@
|
|||
"mongo-username": "cypress-test",
|
||||
"mongo-password": "RaopEmky505xYV4p",
|
||||
"mongo-authenticationAuthtype": "SCRAM-SHA-1",
|
||||
"postgres-host": "postgres-test-db.cz8diybf9wdj.ap-south-1.rds.amazonaws.com",
|
||||
"postgres-host": "localhost",
|
||||
"postgres-port": 5432,
|
||||
"postgres-databaseName": "fakeapi",
|
||||
"postgres-username": "postgres",
|
||||
"postgres-password": "Appsmith2019#",
|
||||
"postgres-password": "postgres",
|
||||
"restapi-url": "https://my-json-server.typicode.com/typicode/demo/posts",
|
||||
"mongo-defaultDatabaseName": "sample_airbnb",
|
||||
"connection-type": "Replica set",
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
CREATE DATABASE fakeapi;
|
||||
\c fakeapi;
|
||||
|
||||
CREATE TABLE public.configs (
|
||||
id integer NOT NULL,
|
||||
"configName" text NOT NULL,
|
||||
|
|
@ -50,4 +53,5 @@ values (3, 'New Config', '{"key": "val1"}', 1, '2020-08-26 11:14:28.458209+00',
|
|||
insert into public.users (id, name, "createdAt", "updatedAt", status, gender, avatar, email, address, role, dob, "phoneNo") values
|
||||
(7, 'Test user 7', '2019-08-07 21:36:27+00', '2019-10-21 03:23:42+00', 'APPROVED', 'Male', 'https://robohash.org/quiofficiadicta.jpg?size=100x100&set=set1' ,'xkainz6@ihg.com', '19624 Scofield Way', 'Admin','1993-08-14', ''),
|
||||
(8, 'Test user 8', '2019-08-07 21:36:27+00', '2019-10-21 03:23:42+00', 'APPROVED', 'Male', 'https://robohash.org/quiofficiadicta.jpg?size=100x100&set=set1' ,'xkainz6@ihg.com', '19624 Scofield Way', 'Admin','1993-08-14', ''),
|
||||
(9, 'Test user 9', '2019-08-07 21:36:27+00', '2019-10-21 03:23:42+00', 'APPROVED', 'Male', 'https://robohash.org/quiofficiadicta.jpg?size=100x100&set=set1' ,'xkainz6@ihg.com', '19624 Scofield Way', 'Admin','1993-08-14', '')
|
||||
(9, 'Test user 9', '2019-08-07 21:36:27+00', '2019-10-21 03:23:42+00', 'APPROVED', 'Male', 'https://robohash.org/quiofficiadicta.jpg?size=100x100&set=set1' ,'xkainz6@ihg.com', '19624 Scofield Way', 'Admin','1993-08-14', '');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user