Clean up old file, add to README
This commit is contained in:
parent
13364ab63c
commit
b7d4dd45c4
@ -1,3 +1,6 @@
|
|||||||
# Rocket with SeaOrm example app
|
# Rocket with SeaOrm example app
|
||||||
|
|
||||||
`cargo run` in the `rocket_example` folder
|
- modify the `url` var in `Rocket.toml` to point to your chosen database
|
||||||
|
- turn on the appropriate database feature for your chosen db in `Cargo.toml`
|
||||||
|
- `cargo run` to start the server
|
||||||
|
- open browser to the address shown in `🚀 Rocket has launched from ` line
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1,6 +0,0 @@
|
|||||||
CREATE TABLE posts (
|
|
||||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
||||||
title VARCHAR NOT NULL,
|
|
||||||
text VARCHAR NOT NULL,
|
|
||||||
published BOOLEAN NOT NULL DEFAULT 0
|
|
||||||
);
|
|
Loading…
x
Reference in New Issue
Block a user