Add initial version of dijkstra backend cloudron image

This commit is contained in:
2020-10-12 11:27:15 +02:00
commit 4f5db9ab26
4209 changed files with 448228 additions and 0 deletions

13
node_modules/knex/lib/migrate/stub/coffee.stub generated vendored Normal file
View File

@@ -0,0 +1,13 @@
exports.up = (knex) ->
<% if (d.tableName) { %>
knex.schema.createTable "<%= d.tableName %>", (t) ->
t.increments()
t.timestamp()
<% } %>
exports.down = (knex) ->
<% if (d.tableName) { %>
knex.schema.dropTable "<%= d.tableName %>"
<% } %>

14
node_modules/knex/lib/migrate/stub/eg.stub generated vendored Normal file
View File

@@ -0,0 +1,14 @@
provide: up, down
up = (knex) ->
<% if (d.tableName) { %>
knex.schema.createTable "<%= d.tableName %>": t ->
t.increments()
t.timestamp()
<% } %>
down = (knex) ->
<% if (d.tableName) { %>
knex.schema.dropTable("<%= d.tableName %>")
<% } %>

15
node_modules/knex/lib/migrate/stub/js.stub generated vendored Normal file
View File

@@ -0,0 +1,15 @@
exports.up = function(knex) {
<% if (d.tableName) { %>
return knex.schema.createTable("<%= d.tableName %>", function(t) {
t.increments();
t.timestamp();
});
<% } %>
};
exports.down = function(knex) {
<% if (d.tableName) { %>
return knex.schema.dropTable("<%= d.tableName %>");
<% } %>
};

View File

@@ -0,0 +1,34 @@
# Update with your config settings.
module.exports =
development:
client: 'sqlite3'
connection:
filename: './dev.sqlite3'
migrations:
tableName: 'knex_migrations'
staging:
client: 'postgresql'
connection:
database: 'my_db'
user: 'username'
password: 'password'
pool:
min: 2
max: 10
migrations:
tableName: 'knex_migrations'
production:
client: 'postgresql'
connection:
database: 'my_db'
user: 'username'
password: 'password'
pool:
min: 2
max: 10
migrations:
tableName: 'knex_migrations'

43
node_modules/knex/lib/migrate/stub/knexfile-eg.stub generated vendored Normal file
View File

@@ -0,0 +1,43 @@
;; Update with your config settings.
module.exports = {
development = {
client = 'sqlite3'
connection = {
filename = './dev.sqlite3'
}
migrations = {
tableName = 'knex_migrations'
}
}
staging = {
client = 'postgresql'
connection = {
database = 'my_db'
user = 'username'
password = 'password'
}
pool = {
min = 2
max = 10
}
migrations = {
tableName = 'knex_migrations'
}
}
production = {
client = 'postgresql'
connection = {
database = 'my_db'
user = 'username'
password = 'password'
}
pool = {
min = 2
max = 10
}
migrations = {
tableName = 'knex_migrations'
}
}
}

44
node_modules/knex/lib/migrate/stub/knexfile-js.stub generated vendored Normal file
View File

@@ -0,0 +1,44 @@
// Update with your config settings.
module.exports = {
development: {
client: 'sqlite3',
connection: {
filename: './dev.sqlite3'
}
},
staging: {
client: 'postgresql',
connection: {
database: 'my_db',
user: 'username',
password: 'password'
},
pool: {
min: 2,
max: 10
},
migrations: {
tableName: 'knex_migrations'
}
},
production: {
client: 'postgresql',
connection: {
database: 'my_db',
user: 'username',
password: 'password'
},
pool: {
min: 2,
max: 10
},
migrations: {
tableName: 'knex_migrations'
}
}
};

35
node_modules/knex/lib/migrate/stub/knexfile-ls.stub generated vendored Normal file
View File

@@ -0,0 +1,35 @@
# Update with your config settings.
module.exports =
development:
client: 'sqlite3'
connection:
filename: './dev.sqlite3'
migrations:
tableName: 'knex_migrations'
staging:
client: 'postgresql'
connection:
database: 'my_db'
user: 'username'
password: 'password'
pool:
min: 2
max: 10
migrations:
tableName: 'knex_migrations'
production:
client: 'postgresql'
connection:
database: 'my_db'
user: 'username'
password: 'password'
pool:
min: 2
max: 10
migrations:
tableName: 'knex_migrations'

44
node_modules/knex/lib/migrate/stub/knexfile-ts.stub generated vendored Normal file
View File

@@ -0,0 +1,44 @@
// Update with your config settings.
module.exports = {
development: {
client: "sqlite3",
connection: {
filename: "./dev.sqlite3"
}
},
staging: {
client: "postgresql",
connection: {
database: "my_db",
user: "username",
password: "password"
},
pool: {
min: 2,
max: 10
},
migrations: {
tableName: "knex_migrations"
}
},
production: {
client: "postgresql",
connection: {
database: "my_db",
user: "username",
password: "password"
},
pool: {
min: 2,
max: 10
},
migrations: {
tableName: "knex_migrations"
}
}
};

14
node_modules/knex/lib/migrate/stub/ls.stub generated vendored Normal file
View File

@@ -0,0 +1,14 @@
exports.up = (knex, Promise) ->
<% if (d.tableName) { %>
knex.schema.create-table "<%= d.tableName %>", (t) ->
t.increments!
t.timestamp!
<% } %>
exports.down = (knex, Promise) ->
<% if (d.tableName) { %>
knex.schema.drop-table "<%= d.tableName %>"
<% } %>

21
node_modules/knex/lib/migrate/stub/ts.stub generated vendored Normal file
View File

@@ -0,0 +1,21 @@
import * as Knex from "knex";
<% if (d.tableName) { %>
export async function up(knex: Knex): Promise<Knex.SchemaBuilder> {
return knex.schema.createTable("<%= d.tableName %>", (t: Knex.AlterTableBuilder) => {
t.increments();
t.timestamps();
});
}
<% } else { %>
export async function up(knex: Knex): Promise<any> {
}
<% } %>
<% if (d.tableName) { %>
export async function down(knex: Knex): Promise<Knex.SchemaBuilder> {
return knex.schema.dropTable("<%= d.tableName %>");
}
<% } else { %>
export async function down(knex: Knex): Promise<any> {
}
<% } %>