rails_nexus 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1d639de5385a9975d43e4cb943e95e1080fc982bf39363d8ca650ffa4e413807
4
- data.tar.gz: d0ee669e29976192aba3b2215b9d804772d3e362669252e545e340fc5c80a337
3
+ metadata.gz: e53768c742936d378f9f25d9a11c7e8e4940f1393e43f89f6f4de66e739c04a0
4
+ data.tar.gz: 2fb198abfe108349535f99a67b57d2ef3f1a1563c720537f88b10140433e5dc4
5
5
  SHA512:
6
- metadata.gz: a0e758654cfebfdd74880b6e9ea2c415ad8ed1cb3ce63ec2e619664597ff7fbfd8c449e277228d0dbcce66c8f59db400ac8fd0326d2a97a1afa05eab68ae6347
7
- data.tar.gz: 5c68c28e6debd2b86d76653e8b6a24b83c33b506dc84acdbd919e560e781445653771b19993acc30a35e334f8f49ecced1b2cbc78236ea28cb7aaffc5d6c6661
6
+ metadata.gz: 7894b8271c99d1ed424e4a27a733e4b9b09df27c58471caf6c136e272ea0d7cfd98c6d847ebfdf27afa8312ee5ac8bcbb7f3ae39bf80980dcb88fa6ae1d3dcb5
7
+ data.tar.gz: da25a4ae602de381da422d8db9f910be1bbc7fc918bde6b608e5b6eb837dee458f78370514cc2a95cc6801be98cb97fdb7c47355def55a9199d7f1554b903ba6
@@ -128,5 +128,44 @@ class CreateRailsNexusTables < ActiveRecord::Migration[<%= "[#{ActiveRecord::Mig
128
128
  add_index :rails_nexus_backups, [:model_name, :started_at]
129
129
  add_index :rails_nexus_backups, :status
130
130
  add_index :rails_nexus_backups, :started_at
131
+
132
+ # ─── rails_nexus_backup_configs ────────────────────────────────
133
+ create_table :rails_nexus_backup_configs do |t|
134
+ t.string :name, null: false
135
+ t.string :description
136
+ t.string :database_name, null: false
137
+ t.string :adapter, null: false, default: "mysql"
138
+ t.string :host, default: "localhost"
139
+ t.integer :port
140
+ t.string :username
141
+ t.string :password
142
+ t.text :skip_tables, default: "[]"
143
+
144
+ t.string :storage_path, null: false
145
+ t.integer :keep_count, default: 30
146
+
147
+ t.boolean :compress, default: true
148
+ t.boolean :encrypt, default: false
149
+ t.string :encrypt_password
150
+
151
+ t.boolean :rsync_enabled, default: false
152
+ t.string :rsync_host
153
+ t.integer :rsync_port, default: 22
154
+ t.string :rsync_user
155
+ t.string :rsync_path
156
+ t.boolean :rsync_mirror, default: false
157
+
158
+ t.string :notify_command
159
+ t.boolean :notify_on_success, default: true
160
+ t.boolean :notify_on_failure, default: true
161
+
162
+ t.string :schedule_cron
163
+ t.boolean :enabled, default: true
164
+
165
+ t.timestamps
166
+ end
167
+
168
+ add_index :rails_nexus_backup_configs, :name, unique: true
169
+ add_index :rails_nexus_backup_configs, :enabled
131
170
  end
132
171
  end
@@ -1,3 +1,3 @@
1
1
  module RailsNexus
2
- VERSION = "2.0.2"
2
+ VERSION = "2.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_nexus
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tamiru Hailu