Class: CreateBlacklists

Inherits:
Object
  • Object
show all
Defined in:
lib/osa/migrations/00001_create_blacklists.rb

Instance Method Summary collapse

Instance Method Details

#changeObject



5
6
7
8
9
# File 'lib/osa/migrations/00001_create_blacklists.rb', line 5

def change
  create_table :blacklists do |t|
    t.text :value, unique: true
  end
end