You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
469 B
16 lines
469 B
2 months ago
|
class AddCollectionResourcesTable < ActiveRecord::Migration[7.0]
|
||
|
def change
|
||
|
create_table :collection_resources do |t|
|
||
|
t.column :log_type, :string
|
||
|
t.column :resource_type, :string
|
||
|
t.column :display_name, :string
|
||
|
t.column :short_display_name, :string
|
||
|
t.column :year, :integer
|
||
|
t.column :download_filename, :string
|
||
|
t.column :mandatory, :boolean
|
||
|
t.column :released_to_user, :boolean
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
end
|