Sha256: 7055b2b2426080642278db1fdef0f214a80c0e07a7216458fd93aaf69c8b1565
Contents?: true
Size: 876 Bytes
Versions: 12
Compression:
Stored size: 876 Bytes
Contents
class AddNotNullToPositionOnLibrary < ActiveRecord::Migration[5.2] def change change_column :libraries, :position, :integer, null: false, default: 1 change_column :shelves, :position, :integer, null: false, default: 1 change_column :library_groups, :position, :integer, null: false, default: 1 change_column :user_groups, :position, :integer, null: false, default: 1 change_column :bookstores, :position, :integer, null: false, default: 1 change_column :budget_types, :position, :integer, null: false, default: 1 change_column :colors, :position, :integer, null: false, default: 1 change_column :request_types, :position, :integer, null: false, default: 1 change_column :request_status_types, :position, :integer, null: false, default: 1 change_column :search_engines, :position, :integer, null: false, default: 1 end end
Version data entries
12 entries across 12 versions & 3 rubygems