13 lines
273 B
Ruby
13 lines
273 B
Ruby
class CreateDataFilePasswords < ActiveRecord::Migration
|
|
def change
|
|
create_table :data_file_passwords do |t|
|
|
t.references :data_file
|
|
t.string :token
|
|
t.text :description
|
|
t.integer :nbr_downloads
|
|
|
|
t.timestamps null: false
|
|
end
|
|
end
|
|
end
|