mirror of
https://github.com/Eggbertx/gochan.git
synced 2025-08-25 01:26:23 -07:00
Add SQL dummy data file, update Vagrantfile with allowed IP
This commit is contained in:
parent
2ffa152175
commit
967147d7f5
2 changed files with 13 additions and 2 deletions
11
devtools/mysql_dummydata.sql
Normal file
11
devtools/mysql_dummydata.sql
Normal file
|
@ -0,0 +1,11 @@
|
|||
-- This should be run only after gochan has been started for the first time
|
||||
-- Also this should only be used in a development environment
|
||||
-- mysql -u gochan -D gochan -pgochan < /vagrant/devtools/mysql_dummydata.sql
|
||||
|
||||
INSERT INTO gc_threads (board_id) values(1);
|
||||
INSERT INTO `gc_posts` (
|
||||
`thread_id`,`ip`,`name`,`tripcode`,`email`,`subject`,`message`,`message_raw`
|
||||
) VALUES (
|
||||
1,'192.168.56.1','Name','Tripcode','email@email.com','Subject','Message<br /><b>bold text</b>','Message
|
||||
[b]bold text[/b]'
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue