Skip to content

Commit

Permalink
[webui] sql structure is overkill for the webui
Browse files Browse the repository at this point in the history
  • Loading branch information
coolo committed Oct 2, 2012
1 parent 4679ab2 commit 0ee4c9d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/webui/config/application.rb
Expand Up @@ -90,8 +90,6 @@ class Application < Rails::Application
# Make Active Record use UTC-base instead of local time
# config.active_record.default_timezone = :utc

config.active_record.schema_format = :sql

config.action_controller.perform_caching = true

config.exceptions_app = self.routes
Expand Down
14 changes: 8 additions & 6 deletions src/webui/db/schema.rb
@@ -1,10 +1,12 @@
# This file is auto-generated from the current state of the database. Instead of editing this file,
# please use the migrations feature of Active Record to incrementally modify your database, and
# then regenerate this schema definition.
# encoding: UTF-8
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative source for your database schema. If you need
# to create the application database on another system, you should be using db:schema:load, not running
# all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations
# Note that this schema.rb definition is the authoritative source for your
# database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
# It's strongly recommended to check this file into your version control system.
Expand Down

0 comments on commit 0ee4c9d

Please sign in to comment.