Sha256: 1358bb08dfd0e0c82e3ea9fbb4d85782ff7798c4baf349a6b47b29a3589c6300

Contents?: true

Size: 338 Bytes

Versions: 5

Compression:

Stored size: 338 Bytes

Contents

class CreateTickets < Sequel::Migration
  def up
    create_table :tickets do
      primary_key :id
      integer   :importance, :null => false, :default => 0
      integer   :emergency,  :null => false, :default => 0
      string    :title,      :null => false, :default => ""
    end
  end

  def down
    drop_table :tickets
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

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