Using _ instead of . for DB table names: this convention ([a-z0-9_]) follow best-practices, and in this way there is no need to use a backtick when writing sql queries in MySQL (or in the future PostreSQL)

git-svn-id: https://beef.googlecode.com/svn/trunk@1033 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
antisnatchor
2011-06-27 14:26:44 +00:00
parent 27f9857d31
commit 6d19b04f60
12 changed files with 12 additions and 12 deletions

View File

@@ -6,7 +6,7 @@ module Models
include DataMapper::Resource
storage_names[:default] = 'core.command_modules'
storage_names[:default] = 'core_commandmodules'
property :id, Serial
property :name, Text, :lazy => false