Cross Reference:
xref
: /
ontohub
/
db
/
migrate
/
20120307142053_create_logics.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
20120307142053_create_logics.rb revision 040c1d8fca47a84f09d96ca3c21caa0a2ed91e05
class
CreateLogics
<
ActiveRecord
::
Migration
def
change
create_table
:
logics
do
|t|
t.string
:
name
, :
null
=>
false
t.string
:
uri
t.string
:
extension
t.string
:
mimetype
t.timestamps
:
null
=>
false
end
change_table
:
logics
do
|t|
t.index
:
name
, :
unique
=>
true
end
end
end