Sha256: 6856b3da4900880d7dff44fef24f74b8f8295249e3cecb3f38dd74d2288c6bc8

Contents?: true

Size: 380 Bytes

Versions: 5

Compression:

Stored size: 380 Bytes

Contents

# frozen_string_literal: true

ActiveRecord::Schema.define do
  create_table :defaults, force: true do |t|
    t.date :fixed_date, default: "2004-01-01"
    t.datetime :fixed_time, default: "2004-01-01 00:00:00"
    t.column :char1, "char(1)", default: "Y"
    t.string :char2, limit: 50, default: "a varchar field"
    t.text :char3, limit: 50, default: "a text field"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ibm_db-5.5.0 test/schema/sqlite_specific_schema.rb
ibm_db-5.4.1 test/schema/sqlite_specific_schema.rb
ibm_db-5.4.0 test/schema/sqlite_specific_schema.rb
ibm_db-5.3.2 test/schema/sqlite_specific_schema.rb
ibm_db-5.3.1 test/schema/sqlite_specific_schema.rb