Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make migrations work with the latest SQLite
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1458 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
dhh committed Jun 21, 2005
1 parent aa49feb commit 0bdd44a
Showing 1 changed file with 10 additions and 10 deletions.
Expand Up @@ -90,16 +90,16 @@ class SQLiteAdapter < AbstractAdapter
def native_database_types
{
:primary_key => "INTEGER PRIMARY KEY NOT NULL",
:string => "VARCHAR(255)",
:text => "TEXT",
:integer => "INTEGER",
:float => "float",
:datetime => "DATETIME",
:timestamp => "DATETIME",
:time => "DATETIME",
:date => "DATE",
:binary => "BLOB",
:boolean => "INTEGER"
:string => { :name => "varchar", :limit => 255 },
:text => { :name => "text" },
:integer => { :name => "integer" },
:float => { :name => "float" },
:datetime => { :name => "datetime" },
:timestamp => { :name => "datetime" },
:time => { :name => "datetime" },
:date => { :name => "date" },
:binary => { :name => "blob" },
:boolean => { :name => "integer" }
}
end

Expand Down

0 comments on commit 0bdd44a

Please sign in to comment.