Files
velour/db/migrate/20251029113850_create_storage_locations.rb
Dan Milne 88a906064f
Some checks failed
CI / scan_ruby (push) Has been cancelled
CI / scan_js (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
CI / system-test (push) Has been cancelled
Much base work started
2025-10-31 14:36:14 +11:00

18 lines
398 B
Ruby

class CreateStorageLocations < ActiveRecord::Migration[8.1]
def change
create_table :storage_locations do |t|
t.string :name
t.string :path
t.integer :location_type
t.boolean :writable
t.boolean :enabled
t.boolean :scan_subdirectories
t.integer :priority
t.text :settings
t.datetime :last_scanned_at
t.timestamps
end
end
end