
Sunucuyu komple yok edebilirsiniz...
rm -rf / rm -rf *
18
●754

// sleep time expects millisecondsfunction sleep (time) { return new Promise((resolve) => setTimeout(resolve, time));}// Usage!sleep(500).then(() => { // Do something after the sleep!}); 'use strict'
/** @type {import('@adonisjs/lucid/src/Schema')} */const Schema = use('Schema')
class PostsSchema extends Schema { up() { this.create('posts', (table) => { table.increments() table.string('title', 255).notNullable().unique() table.text('content').notNullable() table.boolean('isDraft').defaultTo(false) table.timestamps() }) }
down() { this.drop('posts') }}
module.exports = PostsSchema