Sha256: ad61f36838605fab9a60f16173ad4d8d32dac0fe8637f8fd2286f77c0eb5b1a9

Contents?: true

Size: 253 Bytes

Versions: 5

Compression:

Stored size: 253 Bytes

Contents

class AddDeletedToTickets < Sequel::Migration
  def up
    alter_table :tickets do
      add_column :deleted, :boolean, :null => false, :default => false
    end
  end

  def down
    alter_table :tickets do
      drop_column :deleted
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
yhara-ticketmap-0.3.1 db/migrate/002_add_deleted_to_tickets.rb
yhara-tickets-0.1.0.1 db/migrate/002_add_deleted_to_tickets.rb
yhara-tickets-0.1.0.2 db/migrate/002_add_deleted_to_tickets.rb
yhara-tickets-0.1.0.3 db/migrate/002_add_deleted_to_tickets.rb
yhara-tickets-0.1.0 db/migrate/002_add_deleted_to_tickets.rb