Sha256: c9be9237833b7d0600513337b5b7cadcbba1baa3a393ac0d41c7be68baeea773
Contents?: true
Size: 425 Bytes
Versions: 19
Compression:
Stored size: 425 Bytes
Contents
ActiveRecord::Schema.define do create_table :alarms, force: true do |t| t.column :device_id, :integer, null: false t.column :alarm_type, :integer, null: false t.column :status, :integer, null: false t.column :metadata, :text t.column :secret_key, :binary t.datetime :created_at t.datetime :updated_at end add_index :alarms, [:device_id, :alarm_type], unique: true, where: 'status <> 0' end
Version data entries
19 entries across 19 versions & 2 rubygems