Much base work started
This commit is contained in:
17
db/migrate/20251029113850_create_storage_locations.rb
Normal file
17
db/migrate/20251029113850_create_storage_locations.rb
Normal file
@@ -0,0 +1,17 @@
|
||||
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
|
||||
Reference in New Issue
Block a user