mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
modify extension db model
This commit is contained in:
parent
9fc93ce434
commit
86c6eeb71f
@ -2,6 +2,10 @@ export default {
|
||||
name: "Extension",
|
||||
collection: "extensions",
|
||||
schema: {
|
||||
version: {
|
||||
type: String,
|
||||
required: true
|
||||
},
|
||||
title: {
|
||||
type: String,
|
||||
default: "Untitled"
|
||||
@ -14,18 +18,10 @@ export default {
|
||||
type: String,
|
||||
default: "https://placehold.co/400x400"
|
||||
},
|
||||
distURL: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
createdAt: {
|
||||
created_at: {
|
||||
type: Date,
|
||||
required: true,
|
||||
},
|
||||
version: {
|
||||
type: String,
|
||||
required: true
|
||||
},
|
||||
experimental: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user