aboutsummaryrefslogblamecommitdiffstats
path: root/activerecord/test/schema/sqlite_specific_schema.rb
blob: 18192292e40dfd2a54d5f17b030f5bb5cbde0be7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                          
# 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