mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 15:50:36 -05:00
- Admin -> Settings: maximum upload size per file (1-1024 MB, default 50), stored in a new settings table and read on each use, so a change applies to every process at once - Enforced by attachment validation and the direct-upload endpoint; upload forms, bulk upload and Admin -> About show the current limit - .sam.zip import accepts files up to 1 GB to match Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 lines
233 B
Ruby
11 lines
233 B
Ruby
class CreateSettings < ActiveRecord::Migration[8.1]
|
|
def change
|
|
create_table :settings do |t|
|
|
t.string :key, null: false
|
|
t.text :value
|
|
t.timestamps
|
|
end
|
|
add_index :settings, :key, unique: true
|
|
end
|
|
end
|