Compare commits
No commits in common. "072780bc0fd793b8dadec115f24025b9c25dc95c" and "46f2168fe53b4357cd37cd2d63e8336aeb42a886" have entirely different histories.
072780bc0f
...
46f2168fe5
4 changed files with 3 additions and 9 deletions
|
@ -1,9 +1,3 @@
|
||||||

|
# In The Database 2
|
||||||
|
|
||||||
a database site for notitg modcharts, currently very very unfinished, basically just a boilerplate
|
a database site for notitg modcharts, currently very very unfinished, basically just a boilerplate
|
||||||
|
|
||||||
## setup
|
|
||||||
|
|
||||||
1. `npm install`
|
|
||||||
2. make a `config.json` (example in `config/config.json.example`)
|
|
||||||
3. `npm run build` and `node main/index.js`
|
|
BIN
assets/full.png
BIN
assets/full.png
Binary file not shown.
Before Width: | Height: | Size: 185 KiB |
BIN
assets/icon.png
BIN
assets/icon.png
Binary file not shown.
Before Width: | Height: | Size: 73 KiB |
|
@ -1,7 +1,7 @@
|
||||||
import * as mongoose from 'mongoose';
|
import * as mongoose from 'mongoose';
|
||||||
import { Int32 } from 'mongoose-int32';
|
|
||||||
|
|
||||||
const Schema = mongoose.Schema;
|
const Schema = mongoose.Schema;
|
||||||
|
const Int32 = require('mongoose-int32');
|
||||||
|
|
||||||
const Sample = new Schema({
|
const Sample = new Schema({
|
||||||
start: {type: Int32, default: new Int32(0)},
|
start: {type: Int32, default: new Int32(0)},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue