Sha256: 7a1b504a84d9ebb868561528fcffa85db39886bb99ba2a580c911f310ba51fb0

Contents?: true

Size: 1.54 KB

Versions: 13

Compression:

Stored size: 1.54 KB

Contents

ActiveRecord::Schema.define(:version => 0) do
  create_table :spaceships, :force => true do |t|
    t.string :type, :null => false, :default => 'Spaceship'
    t.integer :flags, :null => false, :default => 0
    t.string :incorrect_flags_column, :null => false, :default => ''
  end

  create_table :spaceships_with_custom_flags_column, :force => true do |t|
    t.integer :bits, :null => false, :default => 0
  end

  create_table :spaceships_with_2_custom_flags_column, :force => true do |t|
    t.integer :bits, :null => false, :default => 0
    t.integer :commanders, :null => false, :default => 0
  end

  create_table :spaceships_with_3_custom_flags_column, :force => true do |t|
    t.integer :engines, :null => false, :default => 0
    t.integer :weapons, :null => false, :default => 0
    t.integer :hal3000, :null => false, :default => 0
  end

  create_table :spaceships_with_3_custom_flags_column, :force => true do |t|
    t.integer :engines, :null => false, :default => 0
    t.integer :weapons, :null => false, :default => 0
    t.integer :hal3000, :null => false, :default => 0
  end

  create_table :spaceships_with_symbol_and_string_flag_columns, :force => true do |t|
    t.integer :peace, :null => false, :default => 0
    t.integer :love, :null => false, :default => 0
    t.integer :happiness, :null => false, :default => 0
  end

  create_table :spaceships_without_flags_column, :force => true do |t|
  end

  create_table :spaceships_with_non_integer_column, :force => true do |t|
    t.string :flags, :null => false, :default => 'A string'
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
flag_shih_tzu-0.3.16 test/schema.rb
flag_shih_tzu-0.3.15 test/schema.rb
flag_shih_tzu-0.3.14 test/schema.rb
flag_shih_tzu-0.3.13 test/schema.rb
flag_shih_tzu-0.3.12 test/schema.rb
flag_shih_tzu-0.3.11 test/schema.rb
flag_shih_tzu-0.3.10 test/schema.rb
flag_shih_tzu-0.3.9 test/schema.rb
flag_shih_tzu-0.3.8 test/schema.rb
flag_shih_tzu-0.3.7 test/schema.rb
flag_shih_tzu-0.3.6 test/schema.rb
flag_shih_tzu-0.3.5 test/schema.rb
flag_shih_tzu-0.3.4 test/schema.rb