```ruby
class CreateUsers < ActiveRecord::Migration
  def change
    create_table :users do |t|
      t.string   :name
      t.string   :email
      t.string   :uid
      t.string   :organisation_slug
      t.string   :organisation_content_id
      t.string   :app_name
      t.text     :permissions
      t.boolean  :remotely_signed_out, default: false
      t.boolean  :disabled, default: false
      t.timestamps
    end
  end
end
```

Fix ActiveRecord::Migration error in generated app
user
```ruby
class CreateUsers < ActiveRecord::Migration[5.1]
  def change
    create_table :users do |t|
      t.string   :name
      t.string   :email
      t.string   :uid
      t.string   :organisation_slug
      t.string   :organisation_content_id
      t.string   :app_name
      t.text     :permissions
      t.boolean  :remotely_signed_out, default: false
      t.boolean  :disabled, default: false
      t.timestamps
    end
  end
end
```
assistant