Added the Sheepstar API to the Archive

This commit is contained in:
2022-09-06 16:37:56 +02:00
parent d6c272cdaf
commit bb78376745
36 changed files with 5346 additions and 0 deletions

View File

@ -0,0 +1,25 @@
const Sequelize = require('sequelize');
const db = require("../config/database");
module.exports = db.define("accounts",{
client_id: {
type: Sequelize.STRING,
allowNull: false
},
username: {
type: Sequelize.STRING,
allowNull: false
},
email: {
type: Sequelize.STRING,
allowNull: false
},
locale: {
type: Sequelize.STRING,
defaultValue: "en"
},
avatar: {
type: Sequelize.STRING,
allowNull: false
}
});