18 lines
398 B
Ruby
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
|