Sha256: d85bd06efdd5f95a08ca23ad8e211599937369427169d0c0203c0bbf1b2a1236
Contents?: true
Size: 860 Bytes
Versions: 8
Compression:
Stored size: 860 Bytes
Contents
class CreateUserGroupHasCheckoutTypes < ActiveRecord::Migration def self.up create_table :user_group_has_checkout_types do |t| t.references :user_group, index: true, foreign_key: true, null: false t.references :checkout_type, index: true, foreign_key: true, null: false t.integer :checkout_limit, default: 0, null: false t.integer :checkout_period, default: 0, null: false t.integer :checkout_renewal_limit, default: 0, null: false t.integer :reservation_limit, default: 0, null: false t.integer :reservation_expired_period, default: 7, null: false t.boolean :set_due_date_before_closing_day, default: false, null: false t.datetime :fixed_due_date t.text :note t.integer :position t.timestamps end end def self.down drop_table :user_group_has_checkout_types end end
Version data entries
8 entries across 8 versions & 2 rubygems