20120715234111_create_bans.rb 284 B

1234567891011121314
  1. class CreateBans < ActiveRecord::Migration
  2. def change
  3. create_table :bans do |t|
  4. t.integer :frequency_id
  5. t.string :hostmask
  6. t.string :reason
  7. t.datetime :valid_from
  8. t.datetime :valid_to
  9. t.boolean :activate
  10. t.timestamps
  11. end
  12. end
  13. end