Skip to content

Commit

Permalink
fix: clean up wallet table schema
Browse files Browse the repository at this point in the history
  • Loading branch information
ZavenArra committed Feb 18, 2021
1 parent d4bd806 commit f329cdf
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions database/migrations/20200917183542-CreateTableWallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,9 @@ exports.setup = function(options, seedLink) {
exports.up = function(db) {
return db.createTable('wallet', {
id: { type: 'uuid', primaryKey: true, notNull: true },
type: { type: 'string' },
name: { type: 'string', notNull: true },
first_name: { type: 'string' },
last_name: { type: 'string' },
email: { type: 'string' },
phone: { type: 'string' },
pwd_reset_required: { type: 'boolean', defaultValue: false },
website: { type: 'string' },
password: { type: 'string' },
salt: { type: 'string' },
active_contract_id: { type: 'int' },
offering_pay_to_plant: { type: 'boolean', defaultValue: false },
tree_validation_contract_id: { type: 'int' },
logo_url: { type: 'string' },
});
};
Expand Down

0 comments on commit f329cdf

Please sign in to comment.