bievre_app/db/migrate/20160830202641_create_data_file_passwords.rb
Caroline Girard dee35396f0 initial
2018-09-07 11:04:43 +02:00

13 lines
305 B
Ruby

class CreateDataFilePasswords < ActiveRecord::Migration
def change
create_table :data_file_passwords do |t|
t.references :data_file, index: true, foreign_key: true
t.string :token
t.text :description
t.integer :nbr_downloads
t.timestamps null: false
end
end
end