aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/migrations
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-09-04 15:34:11 +0200
committerChocobozzz <me@florianbigard.com>2018-09-04 15:34:11 +0200
commitc75937d04f0a45b1ba169d28d0854ad33cfee900 (patch)
treea2b6c36e18f03f376c6e3d8cf42bf692e53c5464 /server/models/migrations
parentdf39a683eae942dc31e115426165f95f60373311 (diff)
downloadPeerTube-c75937d04f0a45b1ba169d28d0854ad33cfee900.tar.gz
PeerTube-c75937d04f0a45b1ba169d28d0854ad33cfee900.tar.zst
PeerTube-c75937d04f0a45b1ba169d28d0854ad33cfee900.zip
Move nodeinfo model in shared/
Diffstat (limited to 'server/models/migrations')
-rw-r--r--server/models/migrations/index.ts27
1 files changed, 0 insertions, 27 deletions
diff --git a/server/models/migrations/index.ts b/server/models/migrations/index.ts
deleted file mode 100644
index 24badb166..000000000
--- a/server/models/migrations/index.ts
+++ /dev/null
@@ -1,27 +0,0 @@
1import * as Sequelize from 'sequelize'
2
3declare namespace Migration {
4 interface Boolean extends Sequelize.DefineAttributeColumnOptions {
5 defaultValue: boolean | null
6 }
7
8 interface String extends Sequelize.DefineAttributeColumnOptions {
9 defaultValue: string | null
10 }
11
12 interface Integer extends Sequelize.DefineAttributeColumnOptions {
13 defaultValue: number | null
14 }
15
16 interface BigInteger extends Sequelize.DefineAttributeColumnOptions {
17 defaultValue: Sequelize.DataTypeBigInt | number | null
18 }
19
20 interface UUID extends Sequelize.DefineAttributeColumnOptions {
21 defaultValue: Sequelize.DataTypeUUIDv4 | null
22 }
23}
24
25export {
26 Migration
27}