Sha256: d6a6630d783d2a23a14d23c9694a4b86fe75a49b509dd86440bfc26f40207ca0
Contents?: true
Size: 1.36 KB
Versions: 4
Compression:
Stored size: 1.36 KB
Contents
# # schema.rb auto-generated using ActiveFacts for Astronomy on 2015-07-08 # ActiveRecord::Base.logger = Logger.new(STDOUT) ActiveRecord::Schema.define(:version => 20150708011545) do enable_extension 'pgcrypto' unless extension_enabled?('pgcrypto') create_table "astronomical_objects", :id => false, :force => true do |t| t.column "astronomical_object_id", :primary_key, :null => false t.column "astronomical_object_code", :string, :limit => 12, :null => false t.column "is_in_orbit", :boolean, :null => true t.column "mass", :float, :limit => 32, :null => true t.column "moon_name", :string, :limit => 256, :null => true t.column "orbit_center_astronomical_object_id", :integer, :null => true t.column "orbit_nr_days", :float, :limit => 32, :null => true t.column "planet_name", :string, :limit => 256, :null => true end add_index "astronomical_objects", ["astronomical_object_code"], :name => :index_astronomical_objects_on_astronomical_object_code, :unique => true unless ENV["EXCLUDE_FKS"] add_foreign_key :astronomical_objects, :astronomical_objects, :column => :orbit_center_astronomical_object_id, :primary_key => :astronomical_object_id, :on_delete => :cascade add_index :astronomical_objects, [:orbit_center_astronomical_object_id], :unique => false, :name => :index_astronomical_objects_on_orbit_center_astronomic__575580d6 end end
Version data entries
4 entries across 4 versions & 1 rubygems