Sha256: 989b36d7b04c50a3e0b12c957007466f96d94a84a90a437e5b19b8661aaa17f0

Contents?: true

Size: 278 Bytes

Versions: 8

Compression:

Stored size: 278 Bytes

Contents

class CreateTeamsTable < ActiveRecord::Migration[5.0]
  def change
    create_table :teams, force: true do |t|
      t.string :team_id
      t.string :name
      t.boolean :active, default: true
      t.string :domain
      t.string :token

      t.timestamps
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
slack-ruby-bot-server-0.9.0 sample_apps/sample_app_activerecord/db/migrate/20170307164946_create_teams_table.rb
slack-ruby-bot-server-0.8.3 sample_apps/sample_app_activerecord/db/migrate/20170307164946_create_teams_table.rb
slack-ruby-bot-server-0.8.2 sample_apps/sample_app_activerecord/db/migrate/20170307164946_create_teams_table.rb
slack-ruby-bot-server-0.8.1 sample_apps/sample_app_activerecord/db/migrate/20170307164946_create_teams_table.rb
slack-ruby-bot-server-0.8.0 sample_apps/sample_app_activerecord/db/migrate/20170307164946_create_teams_table.rb
slack-ruby-bot-server-0.7.0 sample_apps/sample_app_activerecord/db/migrate/20170307164946_create_teams_table.rb
slack-ruby-bot-server-0.6.1 sample_apps/sample_app_activerecord/db/migrate/20170307164946_create_teams_table.rb
slack-ruby-bot-server-0.6.0 sample_apps/sample_app_activerecord/db/migrate/20170307164946_create_teams_table.rb