Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
hubzilla
core
Commits
a17acfb0
Commit
a17acfb0
authored
Jun 06, 2017
by
Manuel Tancoigne
Committed by
Mario
Jun 07, 2017
Browse files
Fixed TEXT fields with default values (fixes #803) in mysql creation script.
parent
79e61841
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/schema_mysql.sql
View file @
a17acfb0
...
...
@@ -36,9 +36,9 @@ CREATE TABLE IF NOT EXISTS `abook` (
`abook_feed`
tinyint
(
4
)
NOT
NULL
DEFAULT
0
,
`abook_not_here`
tinyint
(
4
)
NOT
NULL
DEFAULT
0
,
`abook_profile`
char
(
64
)
NOT
NULL
DEFAULT
''
,
`abook_incl`
TEXT
NOT
NULL
DEFAULT
''
,
`abook_excl`
TEXT
NOT
NULL
DEFAULT
''
,
`abook_instance`
TEXT
NOT
NULL
DEFAULT
''
,
`abook_incl`
text
NOT
NULL
,
`abook_excl`
text
NOT
NULL
,
`abook_instance`
text
NOT
NULL
,
PRIMARY
KEY
(
`abook_id`
),
KEY
`abook_account`
(
`abook_account`
),
KEY
`abook_channel`
(
`abook_channel`
),
...
...
@@ -116,7 +116,7 @@ CREATE TABLE IF NOT EXISTS `app` (
`app_sig`
char
(
255
)
NOT
NULL
DEFAULT
''
,
`app_author`
char
(
255
)
NOT
NULL
DEFAULT
''
,
`app_name`
char
(
255
)
NOT
NULL
DEFAULT
''
,
`app_desc`
text
NOT
NULL
DEFAULT
''
,
`app_desc`
text
NOT
NULL
,
`app_url`
char
(
255
)
NOT
NULL
DEFAULT
''
,
`app_photo`
char
(
255
)
NOT
NULL
DEFAULT
''
,
`app_version`
char
(
255
)
NOT
NULL
DEFAULT
''
,
...
...
@@ -1067,7 +1067,7 @@ CREATE TABLE IF NOT EXISTS `profile` (
`photo`
char
(
255
)
NOT
NULL
DEFAULT
''
,
`thumb`
char
(
255
)
NOT
NULL
DEFAULT
''
,
`publish`
tinyint
(
1
)
NOT
NULL
DEFAULT
0
,
`profile_vcard`
text
NOT
NULL
DEFAULT
''
,
`profile_vcard`
text
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`guid`
(
`profile_guid`
,
`uid`
),
KEY
`uid`
(
`uid`
),
...
...
@@ -1163,7 +1163,7 @@ CREATE TABLE IF NOT EXISTS `site` (
`site_type`
smallint
NOT
NULL
DEFAULT
0
,
`site_project`
char
(
255
)
NOT
NULL
DEFAULT
''
,
`site_version`
varchar
(
32
)
NOT
NULL
DEFAULT
''
,
`site_crypto`
text
NOT
NULL
DEFAULT
''
,
`site_crypto`
text
NOT
NULL
,
PRIMARY
KEY
(
`site_url`
),
KEY
`site_flags`
(
`site_flags`
),
KEY
`site_update`
(
`site_update`
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment