Sha256: 0489139c52d8d40e87fa66d24669c3b286c0706045b791e85bd771471e2a97bc

Contents?: true

Size: 824 Bytes

Versions: 10

Compression:

Stored size: 824 Bytes

Contents

# frozen_string_literal: true

class CreateStenographerTables < ActiveRecord::Migration[5.2]
  def change
    create_table :stenographer_changes do |t|
      t.string :subject
      t.string :message, null: false
      t.string :source_id
      t.boolean :visible, default: true, null: false
      t.string :change_type
      t.string :environments
      t.string :tracker_ids
      t.text :source

      t.timestamps
    end

    create_table :stenographer_authentications do |t|
      t.string :provider, null: false
      t.string :uid, null: false
      t.string :credentials
      t.text :source

      t.timestamps
    end

    create_table :stenographer_outputs do |t|
      t.bigint :authentication_id, null: false
      t.text :configuration, null: false
      t.text :filters

      t.timestamps
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
stenographer-rails-0.7.4 db/migrate/20180502170621_create_stenographer_tables.rb
stenographer-rails-0.7.3 db/migrate/20180502170621_create_stenographer_tables.rb
stenographer-rails-0.7.1 db/migrate/20180502170621_create_stenographer_tables.rb
stenographer-rails-0.7.0 db/migrate/20180502170621_create_stenographer_tables.rb
stenographer-rails-0.6.5 db/migrate/20180502170621_create_stenographer_tables.rb
stenographer-rails-0.6.4 db/migrate/20180502170621_create_stenographer_tables.rb
stenographer-rails-0.6.3 db/migrate/20180502170621_create_stenographer_tables.rb
stenographer-rails-0.6.2 db/migrate/20180502170621_create_stenographer_tables.rb
stenographer-rails-0.6.1 db/migrate/20180502170621_create_stenographer_tables.rb
stenographer-rails-0.6.0 db/migrate/20180502170621_create_stenographer_tables.rb