logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

20170913000752_create_site_uploads.rb (258B)


  1. class CreateSiteUploads < ActiveRecord::Migration[5.1]
  2. def change
  3. create_table :site_uploads do |t|
  4. t.string :var, default: '', null: false, index: { unique: true }
  5. t.attachment :file
  6. t.json :meta
  7. t.timestamps
  8. end
  9. end
  10. end