Sha256: d14671f0a2ec2ab7cbbe6d57fc72e81ec45f406d79d07be428c4d856e21b0f12

Contents?: true

Size: 330 Bytes

Versions: 5

Compression:

Stored size: 330 Bytes

Contents

class BoxroomCreateShareLinks < ActiveRecord::Migration[5.0]
  def self.up
    create_table :boxroom_share_links do |t|
      t.string :emails
      t.string :link_token
      t.datetime :link_expires_at
      t.references :user_file
      t.timestamps
    end
  end

  def self.down
    drop_table :boxroom_share_links
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
boxroom-0.0.5 db/migrate/20110616215033_boxroom_create_share_links.rb
boxroom-0.0.4 db/migrate/20110616215033_boxroom_create_share_links.rb
boxroom-0.0.3 db/migrate/20110616215033_boxroom_create_share_links.rb
boxroom-0.0.2 db/migrate/20110616215033_boxroom_create_share_links.rb
boxroom-0.0.1 db/migrate/20110616215033_boxroom_create_share_links.rb