Sha256: e2a83eabc705f8875fb7a1036565bc8fef44473628bed0eac3252e0623ceed8b
Contents?: true
Size: 390 Bytes
Versions: 3
Compression:
Stored size: 390 Bytes
Contents
# frozen_string_literal: true class CreateYaelEvents < ActiveRecord::Migration[5.1] def change create_table :yael_events do |t| t.string :name, null: false t.string :stream, null: false t.jsonb :payload, null: false t.datetime :created_at, null: false, default: "NOW()" end add_index :yael_events, :name add_index :yael_events, :stream end end
Version data entries
3 entries across 3 versions & 1 rubygems