Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F463081
db.rake
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, May 19, 1:27 AM
Size
350 B
Mime Type
text/plain
Expires
Wed, May 21, 1:27 AM (3 h, 45 m)
Engine
blob
Format
Raw Data
Handle
220127
Attached To
rARCHIVING archiving
db.rake
View Options
namespace
:db
do
desc
'Create schema migrations on local database'
task
:generate_migrations
=>
:environment
do
ActiveRecord
::
Base
.
establish_connection
(
Archiving
::
settings
[
:local_db
]
)
.
connection
.
execute
(
"CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL, UNIQUE KEY `unique_schema_migrations` (`version`));"
)
end
end
Event Timeline
Log In to Comment