-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathREADME.sql
36 lines (24 loc) · 976 Bytes
/
README.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
README.sql
----------
Squirtle can support everything ActiveRecord supports. It's only
been tested with the following:
SQLite3
MySQL
And has support but not tested for:
Postgres
Configuration String
--------------------
Inside 'squirtle.yaml' the config variable 'db' is used to define the
database type and connection/file information. For example the following
string will configure Squirtle to use SQLite and use the file "squirtle.db"
as the data file:
sqlite://squirtle.db
The following will configure connectivity to a MySQL server on a different
IP address with the user 'sqdb', password 'sqpass' and database 'squirtle':
mysql://sqdb:[email protected]/squirtle
Non-SQLite Databases
--------------------
Squirtle does not create the databases or tables. Table formats can be found
in the file 'sq_sqltables.sql' which can be used to create everything you need
prior to running Squirtle:
mysql -u user -p < sq_sqltables.sql