logo

mastofe

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

20161009120834_create_domain_blocks.rb (247B)


  1. class CreateDomainBlocks < ActiveRecord::Migration[5.0]
  2. def change
  3. create_table :domain_blocks do |t|
  4. t.string :domain, null: false, default: ''
  5. t.timestamps
  6. end
  7. add_index :domain_blocks, :domain, unique: true
  8. end
  9. end