Sha256: 56457ef3275ff412f90836f027f61a0181115bd496f005ec1a7d02763666c86b
Contents?: true
Size: 518 Bytes
Versions: 6
Compression:
Stored size: 518 Bytes
Contents
class CreateBlueConfig < ActiveRecord::Migration<%= migration_version %> def change reversible do |dir| dir.up do # Ensure this incremental update migration is idempotent # with monolithic install migration. return if connection.table_exists?(:settings) end end create_table :settings, id: :uuid do |t| t.string :key, null: false, index: { unique: true } t.integer :type, null: false, default: 0 t.string :value t.timestamps end end end
Version data entries
6 entries across 6 versions & 1 rubygems