projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #3846 from totten/master-phpunit-indiv-restore
[civicrm-core.git]
/
xml
/
templates
/
schema.tpl
diff --git
a/xml/templates/schema.tpl
b/xml/templates/schema.tpl
index a42defbd6af6db1b9be01e97e6f07d04f6b1bf7d..8305c0484f277d9d9829c6eda2b66db9e44d0ddb 100644
(file)
--- a/
xml/templates/schema.tpl
+++ b/
xml/templates/schema.tpl
@@
-1,7
+1,7
@@
-- +--------------------------------------------------------------------+
-- +--------------------------------------------------------------------+
--- | CiviCRM version 4.
4
|
+-- | CiviCRM version 4.
5
|
-- +--------------------------------------------------------------------+
-- +--------------------------------------------------------------------+
--- | Copyright CiviCRM LLC (c) 2004-201
3
|
+-- | Copyright CiviCRM LLC (c) 2004-201
4
|
-- +--------------------------------------------------------------------+
-- | This file is a part of CiviCRM. |
-- | |
-- +--------------------------------------------------------------------+
-- | This file is a part of CiviCRM. |
-- | |
@@
-52,7
+52,7
@@
CREATE TABLE `{$table.name}` (
{if ! $first},{/if}
{assign var='first' value=false}
{if ! $first},{/if}
{assign var='first' value=false}
- `{$field.name}` {$field.sqlType}
{if $field.required}{if $field.required == "false"}NULL{else}NOT NULL{/if}{/if} {if $field.autoincrement}AUTO_INCREMENT{/if} {if $field.default|count_characters}DEFAULT {$field.default}{/if} {if $field.comment}COMMENT '{$field.comment
}'{/if}
+ `{$field.name}` {$field.sqlType}
{if $field.collate} COLLATE {$field.collate}{/if} {if $field.required}{if $field.required == "false"}NULL{else}NOT NULL{/if}{/if} {if $field.autoincrement}AUTO_INCREMENT{/if} {if $field.default|count_characters}DEFAULT {$field.default}{/if} {if $field.comment}COMMENT '{ts escape=sql}{$field.comment}{/ts
}'{/if}
{/foreach} {* table.fields *}
{if $table.primaryKey}
{/foreach} {* table.fields *}
{if $table.primaryKey}