mirror of
https://framagit.org/les/gancio.git
synced 2025-02-01 00:52:01 +01:00
15 lines
309 B
JavaScript
15 lines
309 B
JavaScript
|
|
module.exports = (sequelize, DataTypes) =>
|
|
sequelize.define('ap_user', {
|
|
ap_id: {
|
|
type: DataTypes.STRING,
|
|
primaryKey: true
|
|
},
|
|
follower: DataTypes.BOOLEAN,
|
|
following: DataTypes.BOOLEAN,
|
|
trusted: DataTypes.BOOLEAN,
|
|
blocked: DataTypes.BOOLEAN,
|
|
object: {
|
|
type: DataTypes.JSON,
|
|
}
|
|
})
|