Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can anyone share a schema (.sql) file with sample data inserted? #99

Open
fjasonlin opened this issue Jul 4, 2019 · 3 comments
Open

Comments

@fjasonlin
Copy link

I'm using the downloaded (of 11/07/17 19:48:02, version 1.0) Database.sql , which is empty initially.
After doing:
INSERT INTO zone (zone_name) VALUES ('com');
INSERT INTO domain (dom_handle, dom_unicode_name, dom_port43, zone_id) VALUES ('DOM1', 'whiterabbit', 'whois.hinet.net.', '1');

I was expecting http://myserverip:8080/rdap/domain/whiterabbit.com would return me 200 yet I got 404...
So I'm wondering if a fully inserted sample schema would be available for reference.
Thank you

@fjasonlin
Copy link
Author

sorry, my bad.
After restarting the server, I got some meaningful returns :p

Yet any experience of editing (INSERT/UPDATE) data for registrar businesses will still be greatly appreciated!

Many thanks in advance and sorry for such a fundamental question.

@dhfelix
Copy link
Contributor

dhfelix commented Jul 4, 2019

I’m glad you could solve this.

I think we could create sample data to share, in the meantime, you could try our demo server, the demo server has some example data preloaded.

Here is the link of the demo documentation https://www.reddog.mx/demo-server.html

@gvdev-git
Copy link

We had the same issue the OP had. May I suggest that you amend the documentation with a remark that the zone table is only read during startup?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants