Browse Source

fix

feature/dockerfile-arm
Evan Feenstra 5 years ago
parent
commit
421ff773d4
  1. 2
      api/utils/setup.ts
  2. 2
      dist/api/utils/setup.js

2
api/utils/setup.ts

@ -36,7 +36,7 @@ async function migrate(){
addTableColumn('sphinx_chats', 'host')
addTableColumn('sphinx_chats', 'price_to_join', 'BIGINT')
addTableColumn('sphinx_chats', 'price_per_message', 'BIGINT')
addTableColumn('sphinx_contacts', 'sender_alias')
addTableColumn('sphinx_messages', 'sender_alias')
try{
await sequelize.query(`
CREATE TABLE sphinx_chat_members (

2
dist/api/utils/setup.js

@ -49,7 +49,7 @@ function migrate() {
addTableColumn('sphinx_chats', 'host');
addTableColumn('sphinx_chats', 'price_to_join', 'BIGINT');
addTableColumn('sphinx_chats', 'price_per_message', 'BIGINT');
addTableColumn('sphinx_contacts', 'sender_alias');
addTableColumn('sphinx_messages', 'sender_alias');
try {
yield models_1.sequelize.query(`
CREATE TABLE sphinx_chat_members (

Loading…
Cancel
Save