- dave@freezer:~$ radiant --database sqlite3 test
- ... (no errors)
- dave@freezer:~$ cd test/
- dave@freezer:~/test$ rake db:bootstrap
- ... (no errors)
- dave@freezer:~/test$ sqlite3 db/development.sqlite3.db
- SQLite version 3.3.13
- Enter ".help" for instructions
- sqlite> .schema users
- CREATE TABLE users ("id" INTEGER PRIMARY KEY NOT NULL, "name" varchar(100) DEFAULT '''''''''''''''NULL''''''''''''''', "email" varchar(255) DEFAULT '''''''''''''''NULL''''''''''''''', "login" varchar(40) DEFAULT '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' NOT NULL, "password" varchar(40) DEFAULT '''''''''''''''NULL''''''''''''''', "created_at" datetime DEFAULT NULL, "updated_at" datetime DEFAULT NULL, "created_by" integer DEFAULT 0, "updated_by" integer DEFAULT 0, "admin" boolean DEFAULT 'f' NOT NULL, "developer" boolean DEFAULT 'f' NOT NULL, "notes" text, "lock_version" integer DEFAULT 0);
- CREATE UNIQUE INDEX "login" ON users ("login");
- sqlite> .exit
- dave@freezer:~/test$ script/console
- Loading development environment.
- >> Rails::VERSION::STRING
- => "1.2.3"
- >> Radiant::Version
- => 0.6.0
- >> exit
- dave@freezer:~/test$ gem list sqlite3-ruby
- *** LOCAL GEMS ***
- sqlite3-ruby (1.2.1)
- SQLite3/Ruby is a module to allow Ruby scripts to interface with a
- SQLite3 database.
Posted by Robert on Thu 26th Apr 18:30 (modification of post by Robert view diff)
diff | download | new post
Submit a correction or amendment below. (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.