Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 373
- Log:
Initial import of Radiant 0.9.1, which is now packaged as a gem. This is an
import of the tagged 0.9.1 source checked out from GitHub, which isn't quite
the same as the gem distribution - but it doesn't seem to be available in an
archived form and the installed gem already has modifications, so this is
the closest I can get.
- Author:
- rool
- Date:
- Mon Mar 21 13:40:05 +0000 2011
- Size:
- 2670 Bytes
1 | class CreateRadiantTables < ActiveRecord::Migration |
2 | def self.up |
3 | create_table "config", :force => true do |t| |
4 | t.column "key", :string, :limit => 40, :default => "", :null => false |
5 | t.column "value", :string, :default => "" |
6 | end |
7 | add_index "config", ["key"], :name => "key", :unique => true |
8 | |
9 | create_table "pages", :force => true do |t| |
10 | t.column "title", :string |
11 | t.column "slug", :string, :limit => 100 |
12 | t.column "breadcrumb", :string, :limit => 160 |
13 | t.column "behavior", :string, :limit => 25 |
14 | t.column "status_id", :integer, :default => 1, :null => false |
15 | t.column "parent_id", :integer |
16 | t.column "layout_id", :integer |
17 | t.column "created_at", :datetime |
18 | t.column "updated_at", :datetime |
19 | t.column "published_at", :datetime |
20 | t.column "created_by", :integer |
21 | t.column "updated_by", :integer |
22 | end |
23 | |
24 | create_table "page_parts", :force => true do |t| |
25 | t.column "name", :string, :limit => 100 |
26 | t.column "filter", :string, :limit => 25 |
27 | t.column "content", :text |
28 | t.column "page_id", :integer |
29 | end |
30 | |
31 | create_table "snippets", :force => true do |t| |
32 | t.column "name", :string, :limit => 100, :default => "", :null => false |
33 | t.column "filter", :string, :limit => 25 |
34 | t.column "content", :text |
35 | t.column "created_at", :datetime |
36 | t.column "updated_at", :datetime |
37 | t.column "created_by", :integer |
38 | t.column "updated_by", :integer |
39 | end |
40 | add_index "snippets", ["name"], :name => "name", :unique => true |
41 | |
42 | create_table "layouts", :force => true do |t| |
43 | t.column "name", :string, :limit => 100 |
44 | t.column "content", :text |
45 | t.column "created_at", :datetime |
46 | t.column "updated_at", :datetime |
47 | t.column "created_by", :integer |
48 | t.column "updated_by", :integer |
49 | end |
50 | |
51 | create_table "users", :force => true do |t| |
52 | t.column "name", :string, :limit => 100 |
53 | t.column "email", :string |
54 | t.column "login", :string, :limit => 40, :default => "", :null => false |
55 | t.column "password", :string, :limit => 40 |
56 | t.column "admin", :integer, :limit => 1, :default => 0, :null => false |
57 | t.column "developer", :integer, :limit => 1, :default => 0, :null => false |
58 | t.column "created_at", :datetime |
59 | t.column "updated_at", :datetime |
60 | t.column "created_by", :integer |
61 | t.column "updated_by", :integer |
62 | end |
63 | add_index "users", ["login"], :name => "login", :unique => true |
64 | |
65 | end |
66 | |
67 | def self.down |
68 | drop_table "pages" |
69 | drop_table "page_parts" |
70 | drop_table "snippets" |
71 | drop_table "layouts" |
72 | drop_table "users" |
73 | drop_table "config" |
74 | end |
75 | end |