Delete on cascade, Readme, small dockerfile changes
This commit is contained in:
parent
a7e7c4dbe9
commit
6c1ac1838f
@ -6,8 +6,11 @@ COPY package*.json ./
|
|||||||
|
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
|
# RUN npm run build
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
|
# CMD ["npm", "run", "start"]
|
||||||
CMD ["npm", "run", "dev"]
|
CMD ["npm", "run", "dev"]
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#Moon Miners
|
# Moon Miners
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
@ -26,5 +26,5 @@ DB_DATABASE=
|
|||||||
|
|
||||||
## API Endpoints
|
## API Endpoints
|
||||||
|
|
||||||
Refer to ~test-endpoints.restclient~ for an up-to-date list of endpoints. If you want to use this to
|
Refer to `test-endpoints.restclient` for an up-to-date list of endpoints. If you want to use this to
|
||||||
actually query the endpoints, it's not too hard to setup with Emacs.
|
actually query the endpoints, it's not too hard to setup with Emacs.
|
||||||
|
@ -96,7 +96,7 @@ create table staking_event (
|
|||||||
constraint fk_user_staking_event foreign key(user_id)
|
constraint fk_user_staking_event foreign key(user_id)
|
||||||
references users(id) on delete cascade,
|
references users(id) on delete cascade,
|
||||||
constraint fk_wid_staking_event foreign key(well_id)
|
constraint fk_wid_staking_event foreign key(well_id)
|
||||||
references resource_well(id),
|
references resource_well(id) on delete cascade,
|
||||||
constraint fk_iiid_staking_event foreign key(inventory_item_id)
|
constraint fk_iiid_staking_event foreign key(inventory_item_id)
|
||||||
references inventory_item(id) on delete cascade
|
references inventory_item(id) on delete cascade
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user