Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 15
- Log:
Attempt to update Typo to a Typo SVN HEAD release from around the
time the prototype installation was set up on the RISC OS Open Limited
web site. Timestamps place this at 04-Jul so a revision from 05-Jul or
earlier was pulled and copied over the 2.6.0 tarball stable code.
- Author:
- adh
- Date:
- Sat Jul 22 23:27:35 +0100 2006
- Size:
- 1329 Bytes
1 | class Bare13TextFilter < ActiveRecord::Base |
2 | include BareMigration |
3 | end |
4 | |
5 | class AddTextfilters < ActiveRecord::Migration |
6 | def self.up |
7 | STDERR.puts "Adding TextFilters table" |
8 | Bare13TextFilter.transaction do |
9 | create_table :text_filters do |t| |
10 | t.column :name, :string |
11 | t.column :description, :string |
12 | t.column :markup, :string |
13 | t.column :filters, :text |
14 | t.column :params, :text |
15 | end |
16 | |
17 | Bare13TextFilter.create(:name => 'none', :description => 'None', |
18 | :markup => 'none', :filters => [], :params => {}) |
19 | Bare13TextFilter.create(:name => 'markdown', :description => 'Markdown', |
20 | :markup => "markdown", :filters => [], :params => {}) |
21 | Bare13TextFilter.create(:name => 'smartypants', :description => 'SmartyPants', |
22 | :markup => 'none', :filters => [:smartypants], :params => {}) |
23 | Bare13TextFilter.create(:name => 'markdown smartypants', :description => 'Markdown with SmartyPants', |
24 | :markup => 'markdown', :filters => [:smartypants], :params => {}) |
25 | Bare13TextFilter.create(:name => 'textile', :description => 'Textile', |
26 | :markup => 'textile', :filters => [], :params => {}) |
27 | end |
28 | end |
29 | |
30 | def self.down |
31 | drop_table :text_filters |
32 | end |
33 | end |