parent
08acfd593c
commit
a4141421aa
|
@ -59,6 +59,8 @@ deploy:
|
||||||
SSH_PORT: 3242
|
SSH_PORT: 3242
|
||||||
SOURCE_FOLDER: "docs/.vitepress/dist/"
|
SOURCE_FOLDER: "docs/.vitepress/dist/"
|
||||||
before_script:
|
before_script:
|
||||||
|
# install rsync for file transfers
|
||||||
|
- apt-get update && apt-get install rsync -y
|
||||||
# Run ssh-agent (inside the build environment)
|
# Run ssh-agent (inside the build environment)
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
# Add the SSH key stored in SSH_PRIVATE_KEY variable to the agent store
|
# Add the SSH key stored in SSH_PRIVATE_KEY variable to the agent store
|
||||||
|
|
|
@ -22,7 +22,7 @@ class AddMedia extends Migration
|
||||||
'unsigned' => true,
|
'unsigned' => true,
|
||||||
'auto_increment' => true,
|
'auto_increment' => true,
|
||||||
],
|
],
|
||||||
'file_key' => [
|
'file_path' => [
|
||||||
'type' => 'VARCHAR',
|
'type' => 'VARCHAR',
|
||||||
'constraint' => 255,
|
'constraint' => 255,
|
||||||
],
|
],
|
||||||
|
|
|
@ -17,7 +17,7 @@ class RenameMediafileKey extends Migration
|
||||||
public function up(): void
|
public function up(): void
|
||||||
{
|
{
|
||||||
$fields = [
|
$fields = [
|
||||||
'file_key' => [
|
'file_path' => [
|
||||||
'name' => 'file_key',
|
'name' => 'file_key',
|
||||||
'type' => 'VARCHAR',
|
'type' => 'VARCHAR',
|
||||||
'constraint' => 255,
|
'constraint' => 255,
|
||||||
|
@ -30,7 +30,7 @@ class RenameMediafileKey extends Migration
|
||||||
{
|
{
|
||||||
$fields = [
|
$fields = [
|
||||||
'file_key' => [
|
'file_key' => [
|
||||||
'name' => 'file_key',
|
'name' => 'file_path',
|
||||||
'type' => 'VARCHAR',
|
'type' => 'VARCHAR',
|
||||||
'constraint' => 255,
|
'constraint' => 255,
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue