Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Commit

Permalink
Merge branch 'MergeSchemaFix1' of https://github.com/david-fisher/320…
Browse files Browse the repository at this point in the history
…-S21-Track2 into MergeSchemaFix1
  • Loading branch information
sdub18 committed May 6, 2021
2 parents be3c62c + 29b5448 commit 87e774b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ export default function ICMatrix({ scenario_ID }) {
var config = {
method: 'put',
//url: baseURL + '/multi_stake?scenario=' + scenario_ID,
url: baseURL + '/multi_stake?scenario=' + scenario_ID,
//url: baseURL + '/multi_stake?scenario=' + scenario_ID,
url: baseURL + '/stakeholder',
headers: {
'Content-Type': 'application/json',
},
Expand Down
14 changes: 7 additions & 7 deletions moral_kombat_backend/lead/tables/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,14 +282,14 @@ class Meta:


class stakeholders(models.Model):
stakeholder = models.IntegerField()
stakeholder = models.IntegerField(default=0)
scenario = models.ForeignKey('scenarios', on_delete = models.CASCADE, db_column='scenario')
version = models.IntegerField()
name = models.TextField()
description = models.TextField()
job = models.TextField()
introduction = models.TextField()
enable_multi_convo = models.BooleanField()
version = models.IntegerField(default=0)
name = models.TextField(default='default')
description = models.TextField(default='default')
job = models.TextField(default='default')
introduction = models.TextField(default='default')
enable_multi_convo = models.BooleanField(default=False)
id = models.AutoField(primary_key = True)

class Meta:
Expand Down

0 comments on commit 87e774b

Please sign in to comment.