Skip to content

Commit fd2342b

Browse files
committed
Some additional tweaks to the INSTALL text.
- Legacy-Id: 5557
1 parent 4ee607e commit fd2342b

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

INSTALL

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,14 +191,20 @@ Some one-time actions that need to be taken are as follows::
191191
PYTHONPATH=$PWD ietf/manage.py migrate --fake doc 0001
192192
PYTHONPATH=$PWD ietf/manage.py migrate --fake name 0001
193193

194-
PYTHONPATH=$PWD ietf/manage.py dbshell <<< "delete from django_content_type where app_label='doc' and model='groupballotpositiondocevent';"
194+
PYTHONPATH=$PWD ietf/manage.py dbshell <<< "delete from django_content_type where app_label='doc'
195+
and model='groupballotpositiondocevent';"
195196

196197
PYTHONPATH=$PWD ietf/manage.py migrate doc || { \
197-
PYTHONPATH=$PWD ietf/manage.py dbshell <<< 'CREATE TABLE `doc_groupballotpositiondocevent` (`block_comment` longtext NOT NULL, `comment` longtext NOT NULL, `ad_id` integer NOT NULL, `comment_time` datetime NULL, `block_comment_time` datetime NULL, `pos_id` varchar(8) NOT NULL DEFAULT "norecord", `docevent_ptr_id` integer NOT NULL PRIMARY KEY);'
198+
PYTHONPATH=$PWD ietf/manage.py dbshell <<< 'CREATE TABLE `doc_groupballotpositiondocevent`
199+
(`block_comment` longtext NOT NULL, `comment` longtext NOT NULL,
200+
`ad_id` integer NOT NULL, `comment_time` datetime NULL,
201+
`block_comment_time` datetime NULL, `pos_id` varchar(8) NOT NULL DEFAULT "norecord",
202+
`docevent_ptr_id` integer NOT NULL PRIMARY KEY);'
198203
PYTHONPATH=$PWD ietf/manage.py dbshell <<< 'DROP TABLE `doc_ballottype` CASCADE;'
199204
PYTHONPATH=$PWD ietf/manage.py dbshell <<< 'DROP TABLE `doc_ballottype_positions` CASCADE;'
200205
PYTHONPATH=$PWD ietf/manage.py dbshell <<< 'DROP TABLE `doc_ballotdocevent` CASCADE;'
201-
PYTHONPATH=$PWD ietf/manage.py dbshell <<< 'ALTER TABLE `doc_ballotpositiondocevent` DROP COLUMN `ballot_id` CASCADE;'
206+
PYTHONPATH=$PWD ietf/manage.py dbshell <<< 'ALTER TABLE `doc_ballotpositiondocevent`
207+
DROP COLUMN `ballot_id` CASCADE;'
202208
}
203209

204210
PYTHONPATH=$PWD ietf/manage.py migrate doc

0 commit comments

Comments
 (0)